Skip to content

Commit 8633903

Browse files
author
Edward Xiao
authored
Update README.md
1 parent 3629833 commit 8633903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ import 'react-inputs-validation/lib/react-inputs-validation.min.css';
242242
|id | Opt | Str | | "" |
243243
|name | Opt | Str | | "" |
244244
|value | Opt | Str | | "" |
245-
|checked | Opt | Bool | | false |
245+
|checked |**Req.**| Bool | | false |
246246
|disabled | Opt | Bool | | false |
247247
|**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** |
248248
|**validationCallback** |**Opt**|**Func**|**Return the validation result.**|**none** |
@@ -274,7 +274,7 @@ import 'react-inputs-validation/lib/react-inputs-validation.min.css';
274274
id={'agreement'} //Optional.[String].Default: "". Input ID.
275275
name={'agreement'} //Optional.[String].Default: "". Input name
276276
value={agreement} //Required.[String].Default: "".
277-
checked={false} //Optional.[Bool].Default: false.
277+
checked={isAgreementChecked} //Optional.[Bool].Default: false.
278278
disabled={false} //Optional.[Bool].Default: false.
279279
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.
280280
validationCallback={res =>

0 commit comments

Comments
 (0)