Declare the v-model for "dynamic select" widget

This commit is contained in:
Lance Edgar 2020-03-24 18:19:25 -05:00
parent c14ecd2948
commit 2a4832f9b9

View file

@ -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"