Node hidden property

This commit is contained in:
space-nuko
2023-05-05 02:11:07 -05:00
parent 7f64b743a7
commit 8fa267982e
7 changed files with 230 additions and 65 deletions

View File

@@ -67,12 +67,12 @@
{#key $propsChanged}
{#if node !== null && nodeValue !== null}
<label>
{#if widget.attrs.showTitle}
<BlockTitle show_label={widget.attrs.showTitle}>{widget.attrs.title}</BlockTitle>
{#if widget.attrs.title !== ""}
<BlockTitle show_label={true}>{widget.attrs.title}</BlockTitle>
{/if}
<Select
bind:value={option}
bind:items={node.properties.values}
items={node.properties.values}
disabled={node.properties.values.length === 0}
clearable={false}
on:change