From 0807946d45642a39e2a13cde6875002b965c17aa Mon Sep 17 00:00:00 2001 From: pptx704 Date: Sat, 11 Apr 2026 07:00:59 +0600 Subject: [PATCH] Replace template text input with searchable combobox, lock specs for snapshots Template field is now a filterable dropdown that fetches available templates on dialog open. Selecting a snapshot auto-fills and disables vCPU/memory inputs since they must match the original capsule config. --- .../lib/components/CreateCapsuleDialog.svelte | 209 ++++++++++++++++-- 1 file changed, 196 insertions(+), 13 deletions(-) diff --git a/frontend/src/lib/components/CreateCapsuleDialog.svelte b/frontend/src/lib/components/CreateCapsuleDialog.svelte index 2bd027d..7d0ec13 100644 --- a/frontend/src/lib/components/CreateCapsuleDialog.svelte +++ b/frontend/src/lib/components/CreateCapsuleDialog.svelte @@ -1,5 +1,6 @@