Skip to content

[SelectField] Does not support readOnly property #6342

@yanickrochon

Description

@yanickrochon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: selectChanges related to the select.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions