You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(event.type==='blur'&&autoCheckElement.onlyValidateOnBlur)||// Only validate on blur if only-validate-on-blur is set
222
+
(autoCheckElement.onlyValidateOnBlur&&autoCheckElement.validateOnKeystroke)// Only validate on key inputs in only-validate-on-blur mode if validate-on-keystroke is set (when input is invalid)
223
+
){
224
+
setLoadingState(event)
225
+
checker()
226
+
}
188
227
}
189
228
190
229
functionsetLoadingState(event: Event){
@@ -298,8 +337,18 @@ async function check(autoCheckElement: AutoCheckElement) {
298
337
if(autoCheckElement.required){
299
338
input.setCustomValidity('')
300
339
}
340
+
// We do not have good test coverage for this code path.
341
+
// To test, ensure that the input only validates on blur
342
+
// once it has been "healed" by a valid input after
0 commit comments