diff --git a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte index e64cf9653c..3853de4acb 100644 --- a/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte +++ b/frontend/src/lib/components/apps/components/inputs/AppSelect.svelte @@ -147,7 +147,7 @@ on:clear={onChange} on:change={onChange} items={listItems} - listAutoWidth={false} + listAutoWidth={resolvedConfig.fullWidth} inputStyles={SELECT_INPUT_DEFAULT_STYLE.inputStyles} containerStyles={'border-color: #999;' + SELECT_INPUT_DEFAULT_STYLE.containerStyles + diff --git a/frontend/src/lib/components/apps/editor/component/components.ts b/frontend/src/lib/components/apps/editor/component/components.ts index c30ac7f185..b2e12b7dd3 100644 --- a/frontend/src/lib/components/apps/editor/component/components.ts +++ b/frontend/src/lib/components/apps/editor/component/components.ts @@ -1166,6 +1166,13 @@ Hello \${ctx.username} type: 'static', value: undefined, fieldType: 'object' + }, + fullWidth: { + type: 'static', + fieldType: 'boolean', + value: true, + onlyStatic: true, + tooltip: 'Set the width of the options popup to 100% of the select width' } } } @@ -1239,6 +1246,13 @@ Hello \${ctx.username} fieldType: 'text', value: 'Select an item', onlyStatic: true + }, + fullWidth: { + type: 'static', + fieldType: 'boolean', + value: true, + onlyStatic: true, + tooltip: 'Set the width of the options popup to 100% of the select width' } } }