fix: Display multipicker on Created By source filter (#10543)
fix: #9674 When the selected filter is Is and the field type is ACTOR, we now show ObjectFilterDropdownSourceSelect instead of a text input. This ensures proper selection for actor-based filters. Also previously, when a user changed the selected option, all default values were getting wiped out so i have made some changes in updatedSelectedItems Loom video: https://www.loom.com/share/8b80a78d5e8c4a5192d69cab96f0c838?sid=5bd76fff-7cd4-4e3c-8c48-d1c9e4e95651 --------- Co-authored-by: Paul Rastoin <45004772+prastoin@users.noreply.github.com> Co-authored-by: prastoin <paul@twenty.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -73,6 +73,7 @@ export const ObjectFilterDropdownOperandSelect = () => {
|
||||
value: '',
|
||||
type: getFilterTypeFromFieldType(fieldMetadataItemUsedInDropdown.type),
|
||||
label: fieldMetadataItemUsedInDropdown.label,
|
||||
subFieldName: subFieldNameUsedInDropdown,
|
||||
});
|
||||
return;
|
||||
}
|
||||
@ -100,6 +101,7 @@ export const ObjectFilterDropdownOperandSelect = () => {
|
||||
value,
|
||||
type: filterType,
|
||||
label: fieldMetadataItemUsedInDropdown.label,
|
||||
subFieldName: subFieldNameUsedInDropdown,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user