File tree Expand file tree Collapse file tree
ui/src/components/ai-chat/component/inline-params Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 <div
1313 v-if =" formfield.input_type === 'SwitchInput'"
1414 class =" flex align-center border border-r-6"
15- style =" padding : 4px 10px ; "
15+ style =" padding : 4px 10px "
1616 >
1717 <span :title =" switchLabel" class =" mr-4 lighter ellipsis" style =" max-width : 75px ;" >
1818 {{ switchLabel }}
@@ -88,7 +88,11 @@ const itemValue = computed({
8888
8989const attrs = computed (() => {
9090 const base = props .formfield .attrs || {}
91- if (props .formfield .input_type === ' MultiSelect' || props .formfield .input_type === ' Knowledge' ) {
91+ if (
92+ props .formfield .input_type === ' MultiSelect' ||
93+ props .formfield .input_type === ' Knowledge' ||
94+ (props .formfield .input_type === ' TreeSelect' && base .multiple )
95+ ) {
9296 return {
9397 ... base ,
9498 ' collapse-tags' : true ,
You can’t perform that action at this time.
0 commit comments