+
({ value: view, label: view.label }))}
+ bind:value={$options.activeView}
+ classes={{root: 'view-select w-auto'}}
+ clearable={false}
+ labelPlacement="top"
+ clearSearchOnOpen={false}
+ fieldActions={(elem) => /* a hack to disable typing/filtering */ {elem.readOnly = true; return [];}}
+ search={() => /* a hack to always show all options */ Promise.resolve()}>
+
+
+
+ {#if !$viewConfig.readonly}
+
+
+ {/if}
+
+
+
+ Debug
+
+
+
+
+
+
+
+
+
+