New emit like internal-model-changed
but with the same formatting as update:model-value
#808
Labels
enhancement
New feature or request
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


week-picker
withrange
The text was updated successfully, but these errors were encountered: