Skip to content

Commit

Permalink
Chore/picker (#118)
Browse files Browse the repository at this point in the history
* chore(Picker): this.dataList sync  with props.data

* chore(Picker): refactor picker

* chore(Picker):fix formed picker

* chore(Pikcer): add picker style

* feat(form): support  help props

* feat(Checkbox): support checkbox

* feat(CheckboxGroup): restore demo

* chore(RadioGroup): support customized icon

* feat(Checkbox): adjust readme for checkbox

* chore(doc): refine demo

* feat(List): adjust divider line style

* feat(Popover): support transparentMask

* feat(Form): add requiredMarkStyle demo & update docs

* fix(Form): fix readme form prop

* chore(doc): change form demo vertical to horizontal

* chore(CheckboxGroup): fix controlled

* feat(Checkbox): add default props value

Co-authored-by: 陌缓 <[email protected]>
Co-authored-by: wyj <[email protected]>
  • Loading branch information
3 people authored May 30, 2022
1 parent a050b6b commit d8c7e35
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions demo/pages/Form/index.axml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
name="picker"
form="{{form}}">
<picker
cols="{{3}}"
disabled="{{false}}"
pickerholder="请选择"
data="{{pickerList}}"
mode="form"
Expand Down
1 change: 1 addition & 0 deletions src/Checkbox/props.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const CheckboxDefaultProps = {
disabled: false,
checked: false
};
1 change: 1 addition & 0 deletions src/CheckboxGroup/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export const CheckboxGroupDefaultProps = {
radius: false,
uid: 'CheckboxGroup',
controlled: false,
value: []
};
1 change: 1 addition & 0 deletions src/RadioGroup/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export const RadioGroupDefaultProps = {
radius: false,
uid: 'RadioGroup',
position: 'vertical',
value: ''
};
1 change: 1 addition & 0 deletions src/Selector/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ export const SelectorDefaultProps = {
controlled: false,
multiple: false,
disabled: false,
value: ''
};

0 comments on commit d8c7e35

Please sign in to comment.