-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bug fixes on v-text-field 1. Resolves #2057 2. Resolves #2096 3. Resolves #2097 * Make way for props.clearable=true * Removes unneeded sanity check. * null check on externally set value * Add conditional setSelectionRange() & anticipate valid null value. * Allow null value & v-model.number config + handle input of type number - Dev should be allowed to set input to null and expect v-model to retain the null value. Requesting a reconsideration against returning a string as in commit 95b7f83 - Handle v-model.number modifier correctly. Whether the input is string, number or null, the resulting emit() should return the same type or null. Requesting this as an alternative to resolve #2137. - Handle input of type number. Likewise, the resulting emit() should return the same type. Requesting this as an alternative to resolve #2136. * Clean up codes involving conditional mask Fix #2158 * Removes redundant check on oldValue (input.value) * Removes useless getLazyValue() * Post-review updates & fixes - Revert to last commit to undo unnecessary changes - Fix computed.inputValue to account for type of emitted value - Enhance watch.value to check for external/internal change - Prevent resetSelections() from causing runtime error when type="number' - Fix multiple emits bug - Minor change to local variable names to be consistent between functions
- Loading branch information
1 parent
28fbca9
commit 54e2b78
Showing
3 changed files
with
62 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters