Skip to content

Commit 9ccf577

Browse files
author
Edward Xiao
committed
no message
1 parent 66b0a9f commit 9ccf577

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

example/index.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -1019,9 +1019,11 @@ class Index extends Component {
10191019
</div>
10201020
<div style={prefixAll({ flex: '6 6 0px' })}>
10211021
<Checkbox
1022-
// tabIndex="3" // Optional.[String or Number].Default: none.
1023-
id={'agreement'} // Optional.[String].Default: "". Input ID.
1024-
name={'agreement'} // Optional.[String].Default: "". Input name
1022+
attributesWrapper={{}}
1023+
attributesInput={{
1024+
id: 'agreement',
1025+
name: 'agreement',
1026+
}}
10251027
value={agreement} // Required.[String].Default: "".
10261028
checked={isAgreementChecked} // Required.[Bool].Default: false.
10271029
disabled={false} // Optional.[Bool].Default: false.
@@ -1082,7 +1084,11 @@ class Index extends Component {
10821084
</div>
10831085
<div style={prefixAll({ flex: '6 6 0px' })}>
10841086
<Select
1085-
attributes={{ id: 'country', name: 'country', tabIndex: '4' }}
1087+
attributesWrapper={{}}
1088+
attributesInput={{
1089+
id: 'country',
1090+
name: 'country',
1091+
}}
10861092
value={country} // Optional.[String].Default: "".
10871093
disabled={false} // Optional.[Bool].Default: false.
10881094
validate={validate} // Optional.[Bool].Default: false. If you have a submit button and trying to validate all the inputs of your form at onece, toggle it to true, then it will validate the field and pass the result via the "validationCallback" you provide.

0 commit comments

Comments
 (0)