mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +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
|
||||
*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'
|
||||
}"
|
||||
|
||||
@@ -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'
|
||||
}"
|
||||
|
||||
Reference in New Issue
Block a user