Skip to content

Commit 0e1a55a

Browse files
authored
Add enterKeyHint to list of htmlInputAttrs (#4377)
This PR adds the missing `enterKeyHint` attribute which allows the customisability of the enter key on virtual keyboards. In my usage, this fixes an issue on Android where the enter button character doesn't reflect the action it performs. Closes #4371
1 parent 8fa1316 commit 0e1a55a

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
@@ -14,6 +14,7 @@ export const htmlInputAttrs = [
1414
'autoFocus',
1515
'checked',
1616
'disabled',
17+
'enterKeyHint',
1718
'form',
1819
'id',
1920
'inputMode',

0 commit comments

Comments
 (0)