File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ <h2 tabindex="-1" id="success2" class="success" hidden>Your submission was succe
4141 < h2 > only-validate-on-blur</ h2 >
4242 < h2 tabindex ="-1 " id ="success3 " class ="success " hidden > Your submission was successful</ h2 >
4343 < form >
44+ < p > All fields marked with * are required</ p >
45+
4446 < label for ="simple-field2 "> Desired username*:</ label >
4547 < auto-check csrf ="foo " src ="/demo " required only-validate-on-blur >
4648 < input id ="simple-field2 " autofocus name ="foo " required aria-describedby ="state3 " />
Original file line number Diff line number Diff line change @@ -101,10 +101,6 @@ export class AutoCheckElement extends HTMLElement {
101101 const input = this . input
102102 if ( ! input ) return
103103
104- if ( ! this . onlyValidateOnBlur ) {
105- this . setAttribute ( 'validate-on-keystroke' , '' )
106- }
107-
108104 const checker = debounce ( check . bind ( null , this ) , 300 )
109105 const state = { check : checker , controller : null }
110106 states . set ( this , state )
You can’t perform that action at this time.
0 commit comments