mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
headers for enums and unions
This commit is contained in:
committed by
Aiden McClelland
parent
cc9cd3fc14
commit
a657c332b1
@@ -1,7 +1,4 @@
|
|||||||
<ion-item
|
<ion-item style="--padding-start: 0">
|
||||||
*ngIf="spec.type === 'boolean' || spec.type === 'enum'"
|
|
||||||
style="--padding-start: 0"
|
|
||||||
>
|
|
||||||
<form-label
|
<form-label
|
||||||
[data]="{
|
[data]="{
|
||||||
name: spec.name,
|
name: spec.name,
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
<ion-select
|
<ion-select
|
||||||
*ngIf="spec.type === 'enum'"
|
*ngIf="spec.type === 'enum'"
|
||||||
[interfaceOptions]="{
|
[interfaceOptions]="{
|
||||||
|
header: spec.name,
|
||||||
message: spec.warning | toWarningText,
|
message: spec.warning | toWarningText,
|
||||||
cssClass: 'enter-click'
|
cssClass: 'enter-click'
|
||||||
}"
|
}"
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
<!-- class enter-click disables the enter click on the modal behind the select -->
|
<!-- class enter-click disables the enter click on the modal behind the select -->
|
||||||
<ion-select
|
<ion-select
|
||||||
[interfaceOptions]="{
|
[interfaceOptions]="{
|
||||||
|
header: spec.tag.name,
|
||||||
message: spec.tag.warning | toWarningText,
|
message: spec.tag.warning | toWarningText,
|
||||||
cssClass: 'enter-click'
|
cssClass: 'enter-click'
|
||||||
}"
|
}"
|
||||||
|
|||||||
Reference in New Issue
Block a user