{label} is managed on the referenced workspace script.
{#if canEdit}
onEdit?.()}> Edit script settings
{/if}
{#if loading}
Loading current value…
{:else if error}
Could not load the current value: {error}
{:else if active}
{valueText}
{:else}
Not set on the script.
{/if}
{#if !canEdit && noEditReason}
{noEditReason}
{/if}