We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c500920 commit 9a06888Copy full SHA for 9a06888
ui/src/components/dynamics-form/items/select/SingleSelect.vue
@@ -1,5 +1,12 @@
1
<template>
2
- <el-select filterable :teleported="false" clearable v-bind="$attrs" v-model="_modelValue">
+ <el-select
3
+ filterable
4
+ :teleported="true"
5
+ popper-class="dynamics-single-select"
6
+ clearable
7
+ v-bind="$attrs"
8
+ v-model="_modelValue"
9
+ >
10
<el-option
11
v-for="(item, index) in option_list"
12
:key="index"
@@ -61,8 +68,10 @@ const label = (option: any) => {
61
68
return option[textField.value]
62
69
}
63
70
</script>
64
-<style lang="scss" scoped>
65
-:deep(.el-select-dropdown) {
66
- max-width: 400px;
71
+<style lang="scss">
72
+.dynamics-single-select {
73
+ .el-select-dropdown {
74
+ max-width: 1px;
75
+ }
67
76
77
</style>
0 commit comments