Created InputDate and InputDateWithErrors documentation

Created forgotten documentation on Inputsearch see #586
This commit is contained in:
cyril lopez 2018-02-06 15:17:45 +01:00
parent df65a2d2ac
commit 451f26414c

View File

@ -403,6 +403,12 @@ export default Foo;
***
## InputDate
Please refer to the [InputText documentation](#InputText);
***
## InputEmail
Please refer to the [InputText documentation](#InputText);
@ -430,6 +436,26 @@ InputNumber component.
***
## InputSearch
InputSearch component.
| Property | Type | Required | Description |
| -------- | ---- | -------- | ----------- |
| autoFocus | bool | no | Sets the input's autoFocus |
| className | string | no | custom className for the input |
| deactivateErrorHighlight | bool | no | Allow to deactivate the red border on the input when there is an error |
| disabled | bool | no | Disables the input |
| error | bool | no | Sets the red border on the input |
| onBlur | func | no | Function executed when the user leaves the input |
| onChange | func | yes | Handler to modify the input's value |
| onFocus | func | no | Function executed when the user enters the input |
| name | string | yes | The name of the input |
| placeholder | string | no | Input's placeholder, works with i18n |
| style | object | no | Input's style property |
| tabIndex | string | no | Input's tabIndex |
| value | string | yes | Input's value |
***
## InputSelect
@ -517,6 +543,12 @@ Input type: 'toggle' component
***
## InputDateWithErrors
Please refer to the [InputTextWithErrors](#InputTextWithErrors) documentation.
***
## InputEmailWithErrors
Please refer to the [InputTextWithErrors](#InputTextWithErrors) documentation.
@ -529,6 +561,12 @@ Please refer to the [InputTextWithErrors](#InputTextWithErrors) documentation.
***
## InputSearchWithErrors
Please refer to the [InputTextWithErrors](#InputTextWithErrors) documentation.
***
## InputSelectWithErrors
Component integrates Label, InputSelect, InputDescription and InputErrors.