-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(form-file): reset file input when value set to null or empty str…
…ing (#2170) * feat(form-file): reset file input when value set to null or empty string As an alternative to calling the `reset()` method, users can now clear the form file input by setting the v-model to null or an empty string. The watcher checks for null and empty string and internally calls reset() * Update form-file.js * Update README.md
- Loading branch information
1 parent
69421ca
commit ab44375
Showing
2 changed files
with
41 additions
and
17 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