Skip to content

Commit

Permalink
[docs] Add select prop to TextField example (mui#20167)
Browse files Browse the repository at this point in the history
  • Loading branch information
vince1995 authored and EsoterikStare committed Mar 30, 2020
1 parent 87d9e0f commit 00c399b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/components/selects/selects.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Alternatively a `TextField` with an `id` and `label` creates the proper markup a
ids for you:

```jsx
<TextField id="select" label="Age" value="20">
<TextField id="select" label="Age" value="20" select>
<MenuItem value="10">Ten</MenuItem>
<MenuItem value="20">Twenty</MenuItem>
</TextField>
Expand Down

0 comments on commit 00c399b

Please sign in to comment.