SaveButton on forms should stay disabled until the form is valid

This commit is contained in:
leigh-mil
2019-08-16 08:39:00 -04:00
parent 2fd148eda8
commit afb35b9b22
3 changed files with 11 additions and 11 deletions

View File

@@ -43,7 +43,7 @@
</p>
<div class="form-row">
<div class="form-col form-col--two-thirds">
{{ TextInput(form.name) }}
{{ TextInput(form.name, optional=False) }}
</div>
<div class="form-col form-col--third">
&nbsp;
@@ -51,7 +51,7 @@
</div>
<div class="form-row">
<div class="form-col form-col--two-thirds">
{{ TextInput(form.description, paragraph=True) }}
{{ TextInput(form.description, paragraph=True, optional=False) }}
</div>
<div class="form-col form-col--third">
&nbsp;