From 0c9936c40a359a3b7d81d44ca63061a0116b9d6d Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 18 Sep 2017 21:19:42 +0200 Subject: [PATCH] [docs] Add some details about TextField vision Following https://github.com/callemall/material-ui/issues/7768#issuecomment-330324698 --- docs/src/pages/demos/text-fields/text-fields.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/pages/demos/text-fields/text-fields.md b/docs/src/pages/demos/text-fields/text-fields.md index 68e4edb212856e..15cd76a269610e 100644 --- a/docs/src/pages/demos/text-fields/text-fields.md +++ b/docs/src/pages/demos/text-fields/text-fields.md @@ -17,6 +17,10 @@ The `` 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