You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,13 +51,13 @@ Tested on IE9+ and Chrome and Safari(10.0.3)
51
51
52
52
|Props ||Type |Description |Default |
53
53
|--- |--- |--- |--- | --- |
54
-
|tabIndex | Opt | Str || -1 |
54
+
|tabIndex | Opt | Str | Num || -1 |
55
55
|id | Opt | Str || "" |
56
56
|name | Opt | Str || "" |
57
57
|type | Opt | Str || "text" |
58
58
|value | Opt | Str || "" |
59
59
|disabled | Opt | Bool || false |
60
-
|maxLength | Opt | Str ||"" |
60
+
|maxLength | Opt | Str | Num||524288|
61
61
|placeholder | Opt | Str || "" |
62
62
|**validate**|**Opt**|**Bool**|**If you have a submit button and trying to validate all the inputs of your form at once, toggle it to true, then it will validate the field and pass the result via the "validationCallback" you provide.**|**false**|
63
63
|**validationCallback**|**Opt**|**Func**|**Return the validation result.**|**none**|
|**onBlur**|**Opt.**|**Func**|**In order to validate the value on blur, you MUST provide a function, even if it is an empty function. Missing this, the validation on blur will not work.**|**none**|
253
-
|**onChange**|**Req.**|**Func**|**(val, e) => {}. Will return the value.**|**(val, e)=>{}**|
253
+
|**onChange**|**Req.**|**Func**|**(isChecked, e) => {}. Will return the value.**|**(val, e)=>{}**|
onBlur={() => {}} //Optional.[Func].Default: none. In order to validate the value on blur, you MUST provide a function, even if it is an empty function. Missing this, the validation on blur will not work.
|**onBlur** |**Opt.**|**Func** |**In order to validate the value on blur, you MUST provide a function, even if it is an empty function. Missing this, the validation on blur will not work.** |**none** |
|**validate** |**Opt**|**Bool**|**If you have a submit button and trying to validate all the inputs of your form at once, toggle it to true, then it will validate the field and pass the result via the "validationCallback" you provide.**|**false** |
429
431
|**validationCallback** |**Opt**|**Func**|**Return the validation result.**|**none** |
0 commit comments