headers for enums and unions

This commit is contained in:
Matt Hill
2023-03-23 12:29:45 -06:00
committed by Aiden McClelland
parent cc9cd3fc14
commit a657c332b1
2 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,4 @@
<ion-item
*ngIf="spec.type === 'boolean' || spec.type === 'enum'"
style="--padding-start: 0"
>
<ion-item style="--padding-start: 0">
<form-label
[data]="{
name: spec.name,
@@ -23,6 +20,7 @@
<ion-select
*ngIf="spec.type === 'enum'"
[interfaceOptions]="{
header: spec.name,
message: spec.warning | toWarningText,
cssClass: 'enter-click'
}"

View File

@@ -12,6 +12,7 @@
<!-- class enter-click disables the enter click on the modal behind the select -->
<ion-select
[interfaceOptions]="{
header: spec.tag.name,
message: spec.tag.warning | toWarningText,
cssClass: 'enter-click'
}"