Skip to content

Commit

Permalink
TODO: el.options vs rendenring options from src
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Feb 4, 2024
1 parent 7b644e1 commit 8c05e11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/setValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const setValue = (el, value, dispatch) => {
if (suffix)
value = value.toString().replace(suffix, "");

// TODO: el.options vs rendenring options from src
if (el.tagName == 'INPUT' || el.tagName == 'TEXTAREA' || el.tagName == 'SELECT' && el.options.length) {
let { isCrdt } = getAttributes(el)
if (isCrdt == null || isCrdt == undefined)
Expand Down

0 comments on commit 8c05e11

Please sign in to comment.