Skip to content

Commit

Permalink
[docs] Fix error in Select options (#18224)
Browse files Browse the repository at this point in the history
  • Loading branch information
eedrah authored and oliviertassinari committed Nov 5, 2019
1 parent 522ea5a commit 283dd00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/components/selects/selects.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ That `id` needs to match the `labelId` of the `Select` e.g.
```jsx
<InputLabel id="label">Age</InputLabel>
<Select labelId="label" id="select" value="20">
<MenuItem value="10">Twenty</MenuItem>
<MenuItem value="10">Ten</MenuItem>
<MenuItem value="20">Twenty</MenuItem>
</Select>
```
Expand All @@ -78,7 +78,7 @@ ids for you:

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

0 comments on commit 283dd00

Please sign in to comment.