Replies: 1 comment
-
I'm happy to look into doing a PR for this, but the previous PR I opened got closed without being merged due to internal processes 🙃 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the default and model values for the
DatePicker
component areDate | Array<Date> | Array<Date | null> | undefined | null
even though the component will never modify the array itself, so it could be typed asReadonlyArray
.(this should be safe as due to how
v-model
is expected to work, the component should always be emitting a new array rather than modifying the existing array)This would be nice as it would allow me to pass in my readonly arrays without having to do any casting
Beta Was this translation helpful? Give feedback.
All reactions