Skip to content

Commit 4025c1c

Browse files
kfuledead-claudia
authored andcommitted
fix comment
1 parent d76023d commit 4025c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

render/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ module.exports = function() {
686686
/* eslint-disable no-implicit-coercion */
687687
//setting input[value] to same value by typing on focused element moves cursor to end in Chrome
688688
//setting input[type=file][value] to same value causes an error to be generated if it's non-empty
689-
//setting input[value] to same value sometimes causes checkValidity() to return true when form fields are invalid(#2256)
689+
//resetting user-edited values by script bypasses minlength/maxlength validation(#2256)
690690
if ((vnode.tag === "input" || vnode.tag === "textarea") && vnode.dom.value === "" + value) return
691691
//setting select[value] to same value while having select open blinks select dropdown in Chrome
692692
if (vnode.tag === "select" && old !== null && vnode.dom.value === "" + value) return

0 commit comments

Comments
 (0)