Replies: 1 comment
-
This was briefly discussed on Slack, and there was no opposition at the time of this comment being posted. Slack thread (only available to Hubbers) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the
type
prop ofTextInput
accepts any string. I propose we limit it to only accept the kinds of inputs we want to allow.I propose we update
TextInputProps['type']
to:If we decide to move forward with this, we should consult the a11y team to make sure all of those native input types are accessible.
This would have to go out in the next major release because it would be a breaking change.
Beta Was this translation helpful? Give feedback.
All reactions