Update text input vue component so that it only shows the validation icon on mount when the form is not a form that is inset into a page

This commit is contained in:
leigh-mil
2019-08-16 09:24:40 -04:00
parent 75ab8436b0
commit 666f237002
4 changed files with 21 additions and 8 deletions

View File

@@ -17,7 +17,7 @@
{{ portfolio_form.csrf_token }}
<div class='form-row'>
<div class='form-col form-col--half'>
{{ TextInput(portfolio_form.name, validation="portfolioName") }}
{{ TextInput(portfolio_form.name, validation="portfolioName", inset_form=True) }}
</div>
<div class='edit-portfolio-name action-group'>
{{ SaveButton(text='Save', additional_classes='usa-button-big') }}