Misc deform template improvements
for sake of a custom form
This commit is contained in:
parent
10628eeb91
commit
da3aaafbcd
|
@ -113,8 +113,9 @@
|
|||
v-model="${vmodel}"
|
||||
initial-label="${field_display}"
|
||||
tal:attributes=":assigned-label assigned_label or 'null';
|
||||
@input input_callback or 'null';
|
||||
@new-label new_label_callback or 'null';">
|
||||
@input input_callback|'';
|
||||
@new-label new_label_callback|'';">
|
||||
|
||||
</tailbone-autocomplete>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -69,7 +69,8 @@
|
|||
native-size size;
|
||||
style style;
|
||||
v-model vmodel;
|
||||
@input input_handler;">
|
||||
@input input_handler;
|
||||
attributes|field.widget.attributes|{};">
|
||||
|
||||
<tal:loop tal:repeat="item values">
|
||||
<optgroup tal:condition="isinstance(item, optgroup_class)"
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
size size;
|
||||
style style;
|
||||
v-model vmodel;
|
||||
@input input_handler;">
|
||||
@input input_handler;
|
||||
attributes|field.widget.attributes|{};">
|
||||
|
||||
<option v-for="item in ${name}_options"
|
||||
tal:attributes=":key 'item.value';
|
||||
|
|
|
@ -28,10 +28,11 @@
|
|||
<div tal:condition="use_buefy"
|
||||
tal:define="vmodel vmodel|'field_model_' + name;"
|
||||
tal:omit-tag="">
|
||||
<b-input name="${name}"
|
||||
v-model="${vmodel}"
|
||||
placeholder="${placeholder}"
|
||||
autocomplete="${autocomplete}">
|
||||
<b-input tal:attributes="name name;
|
||||
v-model vmodel;
|
||||
placeholder placeholder;
|
||||
autocomplete autocomplete;
|
||||
attributes|field.widget.attributes|{};">
|
||||
</b-input>
|
||||
</div>
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue