-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
feat(VTextField, VSelect): add clearable mixin (#4144, #5722, #6751) #7441
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #7441 +/- ##
=========================================
+ Coverage 85.8% 85.82% +0.02%
=========================================
Files 336 337 +1
Lines 9099 9107 +8
Branches 2418 2422 +4
=========================================
+ Hits 7807 7816 +9
+ Misses 1204 1203 -1
Partials 88 88
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- add prop description to docs for
reset-value
I'm going to have to put this on hold until #7385 makes it in, thank you for your patience! |
Reviewing this it feels weird that it's possible to clear the field and still have the clear icon visible. Possibly do a check to see if the reset-value === this.internalValue? |
I've changed base-branch to |
Hey @bludnic, TravisBuddy Request Identifier: b40806b0-b4a1-11e9-a5f8-ad46f5ea24b0 |
Did I understand correctly, the VChip inside the VCombobox has no longer a UPD: I fixed this by adding |
* Fix unit tests from eager change * VCombobox: Add missing prop `deletableChips` * Update snapshots
What if resetValue is an array or an object? Should we do deep comparison? |
Yea, that may be required considering that they could technically provide anything. |
This Pull Request is being closed due to inactivity. If you have any additional questions, please reach out to us in our Discord community. |
Description
Add clearable mixin to customize reset value by using
reset-value
prop.Tested with these components: VTextField, VTextarea, VSelect, VAutocomplete, VCombobox, VOverflowBtn.
Motivation and Context
Solves these issues: #4144, #5722, #6751. And maybe #2752.
How Has This Been Tested?
unit, visually
Markup:
Types of changes
Checklist:
master
for bug fixes and documentation updates,dev
for new features and breaking changes).