mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 16:03:27 +00:00
make select full width in apps
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user