Closed akamadr closed 3 years ago
Pressing enter while remote data is still loading, causes form submission, because default event isn't prevented. Calling keypressValue on keydown, instead of keyup, fixes that.
keypressValue
keydown
keyup
Pressing enter while remote data is still loading, causes form submission, because default event isn't prevented. Calling
keypressValue
onkeydown
, instead ofkeyup
, fixes that.