| Props |
Required |
Type |
Description |
| label |
false |
string |
|
| helperText |
false |
string |
|
| disabled |
false |
boolean |
|
| validation |
false |
string |
rules of validation |
| validationContext |
false |
object { prop: value } |
extra fields for validation bind (ex. required_if) |
| errorMessage |
false |
string |
custom error message from external validation |
All material-ui props and:
| Props |
Required |
Type |
Description |
| value |
true |
any |
|
| mask |
false |
string |
|
| onChange |
true |
Function(string/number) |
|
| loading |
false |
boolean |
if true will add a progress at right |
All material-ui
checkbox and
switch
props and:
| Props |
Required |
Type |
Description |
| value |
false |
any |
if null will return a boolean |
| checked |
true |
boolean |
|
| helperText |
false |
string |
|
| onChange |
true |
Function(value (if provided) or boolean) |
|
All material-ui radio props and:
| Props |
Required |
Type |
Description |
| value |
true |
any |
Value that will return if selected |
| checked |
true |
boolean |
|
| helperText |
false |
string |
|
| onChange |
true |
Function(value) |
|
All material-ui-pickers props and:
| Props |
Required |
Type |
Description |
| value |
true |
Date |
|
| minDate |
false |
Date |
|
| maxDate |
false |
Date |
|
| disablePast |
false |
boolean |
|
| disableFuture |
false |
boolean |
|
| format |
false |
string |
date fns string format |
| locale |
false |
string |
use dateLocale as default |
| onChange |
true |
Function(date) |
|
| keepTime |
false |
boolean |
by default the time part is removed from the date |
All material-ui props and:
| Props |
Required |
Type |
Description |
| value |
true |
any |
|
| options |
true |
object { value: string/number, label: string } |
|
| onChange |
true |
Function(string/number) |
|
| loading |
false |
boolean |
if true will add a progress at right |
| Props |
Required |
Type |
Description |
| value |
true |
string |
|
| onChange |
true |
Function(string) |
|
All react-select props and:
| Props |
Required |
Type |
Description |
| value |
true |
any / any[] |
|
| options |
true |
array { value: string/number, label: string } |
|
| onChange |
true |
Function(value: any / any[]) |
|
All react-draft-wysiwyg props and:
| Props |
Required |
Type |
Description |
| value |
true |
string |
HTML |
| onChange |
true |
Function(string) |
output HTML |
You can pass toolbar as a prop or set through config
| Props |
Required |
Type |
Description |
| value |
true |
any |
|
| Props |
Required |
Type |
Description |
| rules |
true |
string |
separated by comma |
| children |
true |
string |
message |
| Props |
Required |
Type |
Description |
| onSubmit |
true |
function |
params = isValid: boolean |
| Methods by Ref |
Params |
Return |
Description |
| isValid |
formSubmitted: boolean = default true |
boolean |
Check is all field are valid |
| reset |
|
void |
Reset the validation state |