diff --git a/src/getValue.js b/src/getValue.js index 136456b..e9d0735 100644 --- a/src/getValue.js +++ b/src/getValue.js @@ -285,6 +285,7 @@ const getValue = (element) => { console.error('getValue() error:', error, element); } + // TODO: encode and decode needs a method to prevent multiple encode of an already encoded value let encode = element.getAttribute('value-encode') if (encode) value = encodeValue(value, encode)