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:
Paribesh Nepal
2025-04-02 13:26:32 +05:30
committed by GitHub
parent 3357f93415
commit 44d4e4efaf
5 changed files with 48 additions and 64 deletions

View File

@ -233,11 +233,10 @@ export const ViewBarDetails = ({
<DropdownScope dropdownScopeId={recordFilter.id}>
<ViewBarFilterEffect filterDropdownId={recordFilter.id} />
<EditableFilterDropdownButton
viewFilter={recordFilter}
recordFilter={recordFilter}
hotkeyScope={{
scope: recordFilter.id,
}}
viewFilterDropdownId={recordFilter.id}
/>
</DropdownScope>
</ObjectFilterDropdownComponentInstanceContext.Provider>