We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869a878 commit e8b521eCopy full SHA for e8b521e
src/setValue.js
@@ -44,6 +44,8 @@ const setValue = (el, value) => {
44
for (let i = 0; i < options.length; i++) {
45
if (value.includes(options[i].value)) {
46
options[i].selected = "selected";
47
+ } else {
48
+ options[i].selected = "";
49
}
50
51
0 commit comments