-
Notifications
You must be signed in to change notification settings - Fork 956
feat(InputMenu, Select, SelectMenu): add prop modelModifiers
#5559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v4
Are you sure you want to change the base?
Conversation
commit: |
β¦Modifiers tests
β¦t with nullish coalescing assignment for modelModifiers handling
|
@hywax I'll review this in the weekend, as I'm not able to it atm. But I'm also interested in checking a strange edge case I've recently noticed on this topic |
|
Ok, my suspects were correct. Both nullish coaleshing assignment ( This also applies to other components like UInput. We might as well start to think about a unified internal utility for these modifiers EDIT: to be more precise: generally speaking an empty input model in vue it follows the initial state of its ref, but once edited (and manually deliting the content, using backspace in the input component) it make the ref an empty string. This would require This is something I'm still wrapping my head around, I've also documented it in the past in #3876 (comment) and #3876 (comment) |
π Linked issue
Resolves #5502
β Type of change
π Description
π Checklist