remove value attribute in addition to resetting it (#2480)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-06-06 17:00:54 -07:00
1 parent e1044a2fa8
commit 489758d5ba
1 file changed
+1
@@ -98,6 +98,7 @@ mod js {
switch (field) {
case "value":
node.value = "";
node.removeAttribute("value");
break;
case "checked":
node.checked = false;