-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Adding api to access Select through data attributes #10401
Copy link
Copy link
Closed
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: selectChanges related to the select.Changes related to the select.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Metadata
Metadata
Assignees
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: selectChanges related to the select.Changes related to the select.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Fields
Give feedbackNo fields configured for issues without a type.
https://github.com/mui-org/material-ui/blob/bce6ebd43871db4ff1d94ce1a3c10ffd5d07588c/src/Select/SelectInput.js#L277
Currently, there's no api to add a data attribute directly to the element responsible for clicking a Select.
There's a
data-mui-testprop that helps during mui tests, but anyone using mui can't add their own data attribute.Is there an alternative I missed or should I submit a PR for this?