Closed mst101 closed 2 years ago
As discussed in #151, currently input and selected events do the same thing (as you can see from these 3 commits)...
input
selected
Going forward, I think we should just emit an input event, so that instead of writing:
<input type="date" /> <input type="date" value="someDate" oninput="doSomething" />
... users can write:
<Datepicker v-model="someDate" /> <Datepicker :value="someDate" @input="doSomething" />
As previously mentioned, I think we should also get rid of selectedDate internally and use value instead.
selectedDate
value
Closing this - let's continue the discussion in #151.
As discussed in #151, currently
input
andselected
events do the same thing (as you can see from these 3 commits)...Going forward, I think we should just emit an
input
event, so that instead of writing:... users can write:
As previously mentioned, I think we should also get rid of
selectedDate
internally and usevalue
instead.