Skip to content

Commit 9513785

Browse files
Add 'inputMode' attribute to input. (#3916)
The inputmode global attribute provides a hint to browsers for devices with onscreen keyboards to help them decide which keyboard to display. Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
1 parent e71b0a1 commit 9513785

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/htmlPropsUtils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const htmlInputAttrs = [
1616
'disabled',
1717
'form',
1818
'id',
19+
'inputMode',
1920
'lang',
2021
'list',
2122
'max',

0 commit comments

Comments
 (0)