[Select] property 'SelectDisplayProps' type is too restrictive: should allow data-* attributes #34154
Closed
2 tasks done
Labels
component: select
This is the name of the generic UI component, not the React module!
external dependency
Blocked by external dependency, we can’t do anything about it
typescript
waiting for 👍
Waiting for upvotes
Duplicates
Latest version
Current behavior 😯
I'm on version 5.5.1 (according to my package-lock.json)
TypeScript will complain when I try to set
data-testid
viaSelectDisplayProps
.Currently I need to silence TypeScript; either like this:
or like in the first example of this issue
Expected behavior 🤔
It should be possible to set any data-* attributes without getting a TypeScript error
Steps to reproduce 🕹
No response
Context 🔦
No response
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: