-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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(VAutocomplete): make items copy-pasteable #7759
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #7759 +/- ##
=========================================
+ Coverage 85.8% 85.84% +0.04%
=========================================
Files 336 336
Lines 9099 9118 +19
Branches 2418 2422 +4
=========================================
+ Hits 7807 7827 +20
+ Misses 1204 1203 -1
Partials 88 88
Continue to review full report at Codecov.
|
I'd like to take a look at this before merging please, thank you. |
I've removed the hold and changed the base branch to |
@johnleider yes, I verify and it still works. |
Description
Add listener for
copy
events inv-autocomplete
when it is focused. Process such event by replacing copy data with text of selected item (if such exists).Add listener for
paste
events onv-combobox
input. If:then prevent default event behaviour (paste as text) and instead create new item with pasted text.
Motivation and Context
Fix #6226
How Has This Been Tested?
visually & unit
Markup:
Types of changes
Checklist:
master
for bug fixes and documentation updates,dev
for new features and breaking changes).Note
This is a continuation of #6289