-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enterkeyhint attribute is filtered by is-prop-valid #2530
Comments
Fixing this is quite easy - just add this to the allowlist here: https://github.com/emotion-js/emotion/blob/4be3391914878fd41279701bc23332b75903ec43/packages/is-prop-valid/src/props.js Would you like to prepare such a change? |
Sure, why not. I’ll also check if there are others missing as well: https://github.com/facebook/react/blob/main/packages/react-dom/src/shared/possibleStandardNames.js |
ok i compared the possibleStandardNames.js with the props.js and found that these were missing:
it looks like |
created PR: #2540 |
* allow enterKeyHint attribute to be set fixes #2530 * Create silver-fireants-jump.md Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Current behavior:
enterKeyHint
is a new attribute for input elements. Currently it is being filtered by is-prop-valid and cannot be set on the dom element without a workaround.See styled-components/styled-components#3417
To reproduce:
See styled-components/styled-components#3417
Environment information:
react
version: 17@emotion/react
version: n/a, using styled-components which itself uses @emotion/is-prop-validThe text was updated successfully, but these errors were encountered: