Skip to content

Commit

Permalink
fix(ui5-multi-input): create token from pasted text on change (#8592)
Browse files Browse the repository at this point in the history
Co-authored-by: Nia Peeva <niya.peeva@sap.com>
  • Loading branch information
niyap and Nia Peeva committed Apr 1, 2024
1 parent bf539b8 commit 2072b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/test/pages/MultiInput.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h1 class="sample-container-title">Eventing</h1>
token && token.remove();
});

document.getElementById("token-unique").addEventListener("paste", function (event) {
document.getElementById("token-unique").addEventListener("ui5-paste", function (event) {
event.preventDefault();

let pastedText = (event.clipboardData || window.clipboardData).getData('text/plain');;
Expand Down

0 comments on commit 2072b2e

Please sign in to comment.