fix(ui): egress hosts add on blur and paste; Docker-only container fields hide under OpenShell (#1967)

This commit is contained in:
sam committed 2026-11-14 11:24:28 +11:00
1 parent 855e8ceb3b
commit 87ed8a2e15
1 file changed
+5 -2
+5 -2
View File
@@ -263,7 +263,7 @@ function formatHours(seconds: number): string {
</form.Field>
<form.Field v-slot="{ field }" name="pull_policy">
<Field orientation="responsive">
<Field v-if="!onOpenShell" orientation="responsive">
<FieldContent><FieldLabel>Pull policy</FieldLabel></FieldContent>
<div class="flex min-w-0 flex-wrap items-center gap-3 @md/field-group:flex-1">
<ToggleGroup
@@ -334,7 +334,7 @@ function formatHours(seconds: number): string {
</form.Field>
<form.Field v-slot="{ field }" name="network">
<Field orientation="responsive">
<Field v-if="!onOpenShell" orientation="responsive">
<FieldContent>
<FieldLabel for="cr-network">Network</FieldLabel>
<FieldDescription>Empty: auto-detect.</FieldDescription>
@@ -360,6 +360,9 @@ function formatHours(seconds: number): string {
:model-value="field.state.value ?? []"
class="font-mono"
aria-label="Egress hosts"
add-on-blur
add-on-paste
:delimiter="/[\s,]+/"
@update:model-value="(v) => field.handleChange(v as string[])"
>
<TagsInputItem v-for="h in field.state.value ?? []" :key="h" :value="h">