feat(input): UiCheckBox 支持 multicheck 多选(opts.multicheck)——原属性存在但从未赋值
This commit is contained in:
parent
6a94f10370
commit
f2bf42e7c7
@ -819,6 +819,7 @@ bricks.UiCheckBox =class extends bricks.UiType {
|
|||||||
constructor(opts){
|
constructor(opts){
|
||||||
super(opts);
|
super(opts);
|
||||||
this.uitype='checkbox';
|
this.uitype='checkbox';
|
||||||
|
this.multicheck = opts.multicheck || false;
|
||||||
this.valueField = opts.valueField || 'value';
|
this.valueField = opts.valueField || 'value';
|
||||||
this.textField = opts.textField || 'text';
|
this.textField = opts.textField || 'text';
|
||||||
this.value = this.opts.value || this.opts.defaultValue||[];
|
this.value = this.opts.value || this.opts.defaultValue||[];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user