Skip to content

Commit

Permalink
[docs] Add select prop to TextField example (#20167)
Browse files Browse the repository at this point in the history
  • Loading branch information
vince1995 committed Mar 18, 2020
1 parent 0176a23 commit db2865a
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 db2865a

Please sign in to comment.