make select full width in apps

This commit is contained in:
Ruben Fiszel
2023-05-20 21:24:13 +02:00
parent d810e178db
commit c4ff45967e
2 changed files with 15 additions and 1 deletions
@@ -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 +
@@ -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'
}
}
}