diff --git a/tailbone/templates/deform/autocomplete_jquery.pt b/tailbone/templates/deform/autocomplete_jquery.pt index c0e79c29..4ebc17b2 100644 --- a/tailbone/templates/deform/autocomplete_jquery.pt +++ b/tailbone/templates/deform/autocomplete_jquery.pt @@ -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|'';"> + diff --git a/tailbone/templates/deform/select.pt b/tailbone/templates/deform/select.pt index 4d09f16f..4295380b 100644 --- a/tailbone/templates/deform/select.pt +++ b/tailbone/templates/deform/select.pt @@ -69,7 +69,8 @@ native-size size; style style; v-model vmodel; - @input input_handler;"> + @input input_handler; + attributes|field.widget.attributes|{};"> + @input input_handler; + attributes|field.widget.attributes|{};">