Closed
Description
Describe the Bug
Related to #10110
Trying to apply an or
filter when the first field of the collection has disableListFilter
causes that filter to be greyed out, similar to issue #10110. The first filter is added fine, it's just the second filter that doesn't work.
I think this pr has fixed the problem when adding a new filter, but not all cases were fixed. Perhaps on this line?
Link to the code that reproduces this issue
https://github.com/jooshua-inglis/disabled-list-filter-bug
Reproduction Steps
- visit User collection
- add Filter
- add second
or
filter - All fields are disabled
- Edit Users.ts and set disableListFilter to false
- toDisable and other fields are available for filter selection after the first filter is applied
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Binaries:
Node: 20.19.0
npm: 10.8.2
Yarn: 1.22.22
pnpm: 10.6.4
Relevant Packages:
payload: 3.44.0
next: 15.1.0
@payloadcms/email-nodemailer: 3.44.0
@payloadcms/graphql: 3.44.0
@payloadcms/next/utilities: 3.44.0
@payloadcms/payload-cloud: 3.44.0
@payloadcms/richtext-lexical: 3.44.0
@payloadcms/translations: 3.44.0
@payloadcms/ui/shared: 3.44.0
react: 19.0.0
react-dom: 19.0.0
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.4.0: Fri Apr 11 18:34:14 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T8122
Available memory (MB): 24576
Available CPU cores: 8
Metadata
Metadata
Assignees
Labels
No labels