From 8c70453b2e3a6958437d951751e84acbbaafd9aa Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 22 Jan 2026 03:18:38 +0400 Subject: [PATCH] enh: password valve type --- src/lib/components/common/Valves.svelte | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/lib/components/common/Valves.svelte b/src/lib/components/common/Valves.svelte index de1487c64..cad66c5b7 100644 --- a/src/lib/components/common/Valves.svelte +++ b/src/lib/components/common/Valves.svelte @@ -4,6 +4,7 @@ const i18n = getContext('i18n'); import Switch from './Switch.svelte'; + import SensitiveInput from './SensitiveInput.svelte'; import MapSelector from './Valves/MapSelector.svelte'; export let valvesSpec = null; @@ -103,7 +104,19 @@ }} /> {:else if valvesSpec.properties[property]?.input ?? null} - {#if valvesSpec.properties[property]?.input?.type === 'color'} + {#if valvesSpec.properties[property]?.input?.type === 'password'} +
+ { + dispatch('change'); + }} + /> +
+ {:else if valvesSpec.properties[property]?.input?.type === 'color'}