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
|**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**|
175
175
|**onChange**|**Req.**|**Func**|**(val, e) => {}. Will return the value.**|**(val, e)=>{}**|
176
-
|onFocus |*Opt.*|Func ||none |
177
-
|onClick |*Opt.*|Func ||none |
176
+
|onFocus |Opt |Func ||none |
177
+
|onClick |Opt |Func ||none |
178
178
|**validationOption**|**Opt**|**obj**|**validationOption object, see below**|**{}**|
179
179
|**validationOption.name**|**Opt**|**Str**|**To display in the Error message. i.e Please enter your ${name}.**|**""**|
180
180
|**validationOption.check**|**Opt**|**Bool**|**To determin if you need to validate.**|**true**|
|**checked**|**Req.**|**Bool**|**Recommend using the value returned from ```onChange``` callback, which is ```isChecked```.**|**false**|
245
+
|**checked**|**Req**|**Bool**|**Recommend using the value returned from ```onChange``` callback, which is ```isChecked```.**|**false**|
246
246
|disabled | Opt | Bool || false |
247
247
|**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**|
248
248
|**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**|
256
-
|**onChange**|**Req.**|**Func**|**(isChecked, e) => {}. Will return the value.**|**(val, e)=>{}**|
257
-
|onFocus |*Opt.*|Func ||none |
258
-
|onClick |*Opt.*|Func ||none |
259
-
|**labelHtml**|*Req.*|Html ||none |
255
+
|**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**|
256
+
|**onChange**|**Req**|**Func**|**(isChecked, e) => {}. Will return the value.**|**(val, e)=>{}**|
257
+
|onFocus |Opt |Func ||none |
258
+
|onClick |Opt |Func ||none |
259
+
|**labelHtml**|Req |Html ||none |
260
260
|**validationOption**|**Opt**|**obj**|**validationOption object, see below**|**{}**|
261
261
|**validationOption.name**|**Opt**|**Str**|**To display in the Error message. i.e Please enter your ${name}.**|**""**|
262
262
|**validationOption.check**|**Opt**|**Bool**|**To determin if you need to validate.**|**true**|
validate={validate} //Optional.[Bool].Default: false. 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.
0 commit comments