{ submitHandler(); dispatch('save'); }} >
{$i18n.t('Manage Valves')}
{#if selectedId}
{#if !loading} {#if valvesSpec} {#each Object.keys(valvesSpec.properties) as property, idx}
{valvesSpec.properties[property].title} {#if (valvesSpec?.required ?? []).includes(property)} *required {/if}
{#if (valves[property] ?? null) !== null}
{/if}
{/each} {:else}
No valves
{/if} {:else} {/if}
{/if}