samedi 21 août 2021

JS contact autocomplete event (IOS Keyboard)

Im looking for solution with handle specific event invoked by ios keyboad autocomplete.

I have a default text input in my web form, and im using regexp to filter a value in this input to allow phone numbers only. And it works correct till I try to fill this input by IOS contact autocomplete (button above ios keyboard). When I try it, this input becomes unfocused and empty (render placeholder). I try to fix it, and as a first step, try to figure out which js event is it.

<input inputmode="numeric" type="text" class="doesntMatter" autocomplete="tel" id="telinputID" placeholder="Phone number" style="width:231px!important">



Aucun commentaire:

Enregistrer un commentaire