Declare the v-model for "dynamic select" widget
This commit is contained in:
parent
c14ecd2948
commit
2a4832f9b9
|
@ -8,6 +8,7 @@
|
|||
unicode unicode|str;
|
||||
optgroup_class optgroup_class|field.widget.optgroup_class;
|
||||
multiple multiple|field.widget.multiple;
|
||||
vmodel vmodel|'field_model_' + name;
|
||||
input_handler input_handler|'';"
|
||||
tal:omit-tag="">
|
||||
|
||||
|
@ -18,6 +19,7 @@
|
|||
multiple multiple;
|
||||
size size;
|
||||
style style;
|
||||
v-model vmodel;
|
||||
@input input_handler;">
|
||||
|
||||
<option v-for="item in ${name}_options"
|
||||
|
|
Loading…
Reference in a new issue