Skip to content

Commit

Permalink
lmb-333: also show required toggle on create (back added with rebase …
Browse files Browse the repository at this point in the history
…i think)
  • Loading branch information
JonasVanHoof committed Jan 24, 2025
1 parent cfecf42 commit f108be9
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions app/components/rdf-input-fields/crud-custom-field-modal.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,13 @@
{{selected.label}}
</PowerSelect>
</AuFormRow>
{{#unless @isCreating}}
<AuFormRow>
<AuToggleSwitch
@disabled={{@show}}
@checked={{this.isFieldRequired}}
@onChange={{this.toggleIsRequired}}
>Maak veld verplicht</AuToggleSwitch>
</AuFormRow>
{{/unless}}
<AuFormRow>
<AuToggleSwitch
@disabled={{@show}}
@checked={{this.isFieldRequired}}
@onChange={{this.toggleIsRequired}}
>Maak veld verplicht</AuToggleSwitch>
</AuFormRow>
</form>
{{/if}}

Expand Down

0 comments on commit f108be9

Please sign in to comment.