Vuetify: [Feature Request] Events Date-Picker

Created on 22 Mar 2018  路  5Comments  路  Source: vuetifyjs/vuetify

Problem to solve

Expose the component for more differents events.
When it changes the month it is the same event that when changes the year ('update:pickerDate').

Proposed solution

Different names for the events when changing on Months Tables and Years list. Or expose the "input" event somehow from the Month Table and Year List Components.

VDatepicker feature

Most helpful comment

I know we've been loath to add custom events to our components, but date-picker might actually be one where it would be worth it.

All 5 comments

That could be easily done by watching the pickerDate and comparing previous and new value
https://codepen.io/anon/pen/eMVoMo?editors=1011
I don't think it's worth to add it to the framework
@vuetifyjs/dev-team ?

I know we've been loath to add custom events to our components, but date-picker might actually be one where it would be worth it.

add custom events to our components like elementui might be better

Is this already covered under this functionality? https://next.vuetifyjs.com/en/components/date-pickers#date-pickers---events

If not, it will have to be handled as part of a future release.

Afaik it's not implemented yet, but all date/time updates are waiting for Neko's date-time-picker refactor

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milleraa picture milleraa  路  3Comments

chriswa picture chriswa  路  3Comments

cawa-93 picture cawa-93  路  3Comments

dschreij picture dschreij  路  3Comments

paladin2005 picture paladin2005  路  3Comments