32fc0415da
if user hits ENTER while focused on username field, just set focus to password field but do not submit form. if user hits ENTER on while the password field is focused, then submit form this has long been the behavior but it was broken when removing jquery
17 lines
616 B
XML
17 lines
616 B
XML
<span tal:define="name name|field.name;
|
|
css_class css_class|field.widget.css_class;
|
|
oid oid|field.oid;
|
|
mask mask|field.widget.mask;
|
|
mask_placeholder mask_placeholder|field.widget.mask_placeholder;
|
|
style style|field.widget.style;"
|
|
tal:omit-tag="">
|
|
<div tal:define="vmodel vmodel|'field_model_' + name;"
|
|
tal:omit-tag="">
|
|
<b-input name="${name}"
|
|
v-model="${vmodel}"
|
|
type="password"
|
|
tal:attributes="attributes|field.widget.attributes|{};">
|
|
</b-input>
|
|
</div>
|
|
</span>
|