| 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 |
luxon string format |
| locale |
false |
string |
use dateLocale as default |
| onChange |
true |
Function(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) |
|
| Props |
Required |
Type |
Description |
| value |
true |
any |
|
| options |
true |
object { value: string/number, label: string } |
|
| onChange |
true |
Function(string/number) |
|
| Props |
Required |
Type |
Description |
| value |
true |
any |
|
| Props |
Required |
Type |
Description |
| rules |
true |
string |
separated by comma |
| children |
true |
string |
message |