Skip to content

Commit

Permalink
Fix error in Select options
Browse files Browse the repository at this point in the history
  • Loading branch information
eedrah committed Nov 5, 2019
1 parent 522ea5a commit 72112a5
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 72112a5

Please sign in to comment.