Content
@
0 reply
0 recast
0 reaction
ââ
@git
stop using type="text" on HTML inputs it prevents text replacement on iOS & macOS from working there are 22 types total. Use any except text if it's really just text then don't add a type https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types
2 replies
4 recasts
29 reactions
Darryl Yeo đ ïž
@darrylyeo
`type="text"` is fine as long as you pair it with the `inputmode` attribute to hint to iOS/Android what type of keyboard to show. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#inputmode
1 reply
0 recast
9 reactions
ââ
@git
I think you should always use inputmode unless you have no mobile/tablet users I don't see a reason for using type="text" inputmode="email" in that case just use type="email"
1 reply
0 recast
2 reactions