Skip to content

Select with placeholder gives console warning #2458

Description

@ArthurClemens

Description

Select with prop placeholder results in a warning:

Warning: Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>

Steps to reproduce

Version

v35.12.0

Browser

Chrome

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions