Is your feature request related to a problem? Please describe.
So you guys have a handful of formats, and we have to convert them for our purposes. For example, week range format is [[Date,Date],[Date,Date]]. So we have a utility file that handles all these conversions. But we also do validations on pending updates, before the user has made a picker selection.
The problem, is the emitted data from internal-model-changed does not match the formatting of update:model-value, it seems to only emit dates that were clicked.
Describe the solution you'd like
A clear and concise description of what you want to happen.
In order to remain backwards compatible, could you make a new emit that fires at the same time as internal-model-changed, but with the formatting of update:model-value?
Describe alternatives you've considered
I won't be able to get this solution in time, and have to write a bunch of utility functions specific to translate internal-modal-changed based on props that I am using.
comparison of the two emits for a week-picker with range
Is your feature request related to a problem? Please describe. So you guys have a handful of formats, and we have to convert them for our purposes. For example, week range format is
[[Date,Date],[Date,Date]]
. So we have a utility file that handles all these conversions. But we also do validations on pending updates, before the user has made a picker selection.The problem, is the emitted data from
internal-model-changed
does not match the formatting ofupdate:model-value
, it seems to only emit dates that were clicked.Describe the solution you'd like A clear and concise description of what you want to happen.
In order to remain backwards compatible, could you make a new emit that fires at the same time as
internal-model-changed
, but with the formatting ofupdate:model-value
?Describe alternatives you've considered I won't be able to get this solution in time, and have to write a bunch of utility functions specific to translate
internal-modal-changed
based on props that I am using.comparison of the two emits for a
![Screenshot 2024-04-03 at 8 20 32 AM](https://github.com/Vuepic/vue-datepicker/assets/55567604/959ac22b-ae2a-4f48-a7c4-e4dabde2626d)
week-picker
withrange