Skip to content

Commit

Permalink
[docs] Add some details about TextField vision
Browse files Browse the repository at this point in the history
Following #7768 (comment)
  • Loading branch information
oliviertassinari committed Sep 18, 2017
1 parent 01c6feb commit 0c9936c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/pages/demos/text-fields/text-fields.md
Expand Up @@ -17,6 +17,10 @@ The `<TextField>` wrapper component is a complete form control including a label

`TextField` is composed of smaller components (`FormControl`, `InputLabel`, `Input`, and `FormHelperText`) that you can leverage directly to significantly customize your form inputs.

You might also have noticed that some native HTML input properties are missing from the `TextField` component.
This is on purpose.
The component takes care of the most used properties, then it's up to the user to use the underlying component shown in the following demo. Still, you can use `inputProps` (and `InputProps`, `InputLabelProps` properties) if you want to avoid some boilerplate.

{{demo='pages/demos/text-fields/ComposedTextField.js'}}

## Layout
Expand Down

0 comments on commit 0c9936c

Please sign in to comment.