Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
vue-ctk-date-time-picker
Advanced tools
A vue component for select date & time (by Chronotruck)
A demo is available
npm install vue-ctk-date-time-picker --save
import CtkDateTimePicker from 'vue-ctk-date-time-picker'
var yourComponent = new Vue({
components: { CtkDateTimePicker },
...
})
<template>
...
<ctk-date-time-picker
v-model="value"
label="Choose a date time"
:hint="'Text'"
:error-hint="true"
color="#FF0000" />
...
</template>
Props | Type | Required | Default |
---|---|---|---|
v-model | String/Int | yes | - |
label | String | no | Select date & time |
hint* | text | no | - |
error-hint** | Boolean | no | false |
color*** | String (hex) | no | dodgerblue |
minute-interval | Int | no | 1 |
formatted | string | no | 'llll' (momentjs format) |
format | string | no | 'YYYY-MM-DDTHH:mm' |
time-format | string | no | 'H:mm a' |
locale | string | no | en |
disable-time | Boolean | no | false |
disable-date | Boolean | no | false |
without-header | Boolean | no | false |
id | string | no | CtkDateTimePicker |
min-date**** | string | no | - |
max-date**** | string | no | - |
without-button-action | Boolean | no | false |
*hint : Is a text that replaces the label/placeholder
**error-hint : When is true
--> Input border & label are red
***color: Replace color for the hint, the borders & time selected in dropdown
****min-date & max-date : Must be 'YYYY-MM-DD' format
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
FAQs
A vue component for select date & time (by Chronotruck)
The npm package vue-ctk-date-time-picker receives a total of 15,930 weekly downloads. As such, vue-ctk-date-time-picker popularity was classified as popular.
We found that vue-ctk-date-time-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.