Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 2afaa79

Browse files
committed
Make name and value fields required
1 parent adeea73 commit 2afaa79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/app/components/project-input-variables/list-item.hbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<Pds::Input
1414
@type='text'
1515
data-test-input-variables-var-name
16+
required
1617
id='input-variable-name'
1718
placeholder={{t 'form.project_variables_settings.variable_name_placeholder'}}
1819
value={{this.variable.name}}
@@ -28,6 +29,7 @@
2829
<Pds::Input
2930
@type='text'
3031
data-test-input-variables-var-hcl
32+
required
3133
id='input-variable-value'
3234
placeholder={{if
3335
this.writeOnly
@@ -42,6 +44,7 @@
4244
@type='text'
4345
id='input-variable-value'
4446
data-test-input-variables-var-str
47+
required
4548
placeholder={{if
4649
this.writeOnly
4750
(t 'form.project_variables_settings.variable_form_placeholder_sensitive')

0 commit comments

Comments
 (0)