@pageboard/html 0.12.26 → 0.12.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ui/form.js +2 -0
package/package.json
CHANGED
package/ui/form.js
CHANGED
|
@@ -455,6 +455,8 @@ HTMLButtonElement.prototype.fill = HTMLInputElement.prototype.fill = function (v
|
|
|
455
455
|
if (this.type == "file") {
|
|
456
456
|
if (val === '') this.removeAttribute('value');
|
|
457
457
|
else this.setAttribute('value', val);
|
|
458
|
+
} else if (this.type == "submit") {
|
|
459
|
+
if (this.value == '') this.value = val;
|
|
458
460
|
} else {
|
|
459
461
|
this.value = val;
|
|
460
462
|
}
|