Problem description
While implementing security features on a form and not allowing users to edit certain fields under certain circumstances (while still displaying the values), I came across the SelectField component unable to be set as read only.
Since the component is behaving like a TextField, it is missing this feature.
The desired behavior is that the menu would not open if the SelectField is read only.
Versions
- Material-UI: 0.17.0
- React: 15.4.2
- Browser: Google Chrome latest
Problem description
While implementing security features on a form and not allowing users to edit certain fields under certain circumstances (while still displaying the values), I came across the SelectField component unable to be set as read only.
Since the component is behaving like a TextField, it is missing this feature.
The desired behavior is that the menu would not open if the SelectField is read only.
Versions