I need help, i am stucked i want to restrict inputs to specific patterns.
i have an input for email i don’t want to allow user to input special characters except “@_-.” .
similarly i don’t want to allow user to input alphabets in .
the real challenge is android because event.preventDefault() doesn’t fires on keyup and keydown,keypress returns wrong keycode,charcode.
i need valid solution for both platforms ios and android.