Skip to content

Commit

Permalink
Add enterKeyHint to list of htmlInputAttrs (#4377)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ben-rogerson authored Aug 18, 2022
1 parent 8fa1316 commit 0e1a55a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/htmlPropsUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const htmlInputAttrs = [
'autoFocus',
'checked',
'disabled',
'enterKeyHint',
'form',
'id',
'inputMode',
Expand Down

0 comments on commit 0e1a55a

Please sign in to comment.