Skip to content

Commit

Permalink
[docs][Select] Update docs to reflect the omission of placeholder prop (
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaparab authored Dec 27, 2024
1 parent 1b9300f commit b455d50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/data/material/components/selects/selects.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ The Select component is implemented as a custom `<input>` element of the [InputB
It extends the [text field components](/material-ui/react-text-field/) subcomponents, either the [OutlinedInput](/material-ui/api/outlined-input/), [Input](/material-ui/api/input/), or [FilledInput](/material-ui/api/filled-input/), depending on the variant selected.
It shares the same styles and many of the same props. Refer to the respective component's API page for details.

:::warning
Unlike input components, the `placeholder` prop is not available in Select. To add a placeholder, refer to the [placeholder](#placeholder) section below.
:::

### Filled and standard variants

{{"demo": "SelectVariants.js"}}
Expand Down

0 comments on commit b455d50

Please sign in to comment.