2024-11-22 16:45:50 +01:00
|
|
|
{{#if this.field.validations}}
|
|
|
|
{{#each-in this.field.validations.above as |type validation|}}
|
2023-07-10 08:55:54 +02:00
|
|
|
{{component
|
|
|
|
validation.component
|
2024-11-22 16:45:50 +01:00
|
|
|
field=this.field
|
2023-07-10 08:55:54 +02:00
|
|
|
type=type
|
|
|
|
validation=validation
|
|
|
|
}}
|
|
|
|
{{/each-in}}
|
|
|
|
|
|
|
|
{{yield (hash perform=(action "perform") autocomplete="off")}}
|
|
|
|
|
2024-11-22 16:45:50 +01:00
|
|
|
{{#each-in this.field.validations.below as |type validation|}}
|
2023-07-10 08:55:54 +02:00
|
|
|
{{component
|
|
|
|
validation.component
|
2024-11-22 16:45:50 +01:00
|
|
|
field=this.field
|
2023-07-10 08:55:54 +02:00
|
|
|
type=type
|
|
|
|
validation=validation
|
|
|
|
}}
|
|
|
|
{{/each-in}}
|
|
|
|
{{else}}
|
|
|
|
{{yield}}
|
|
|
|
{{/if}}
|