-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Describe the Bug
When using filters in collection the 'equal' filter is behaving differently than other filters when the value input is cleared.
Link to the code that reproduces this issue
https://github.com/payloadcms/payload/tree/main/templates/website
Reproduction Steps
- Go to any collection list
- Click filters -> add new
- Select any field
- Select 'equals'
- Type in any value
- Remove the value using backspace or delete
Expected behavior: The list should behave the same as in other filters and contain all collection records
Which area(s) are affected? (Select all that apply)
area: ui, area: core
Environment Info
Binaries:
Node: 20.19.0
npm: 10.8.2
Yarn: N/A
pnpm: 10.3.0
Relevant Packages:
payload: 3.64.0
next: 15.4.4
@payloadcms/db-sqlite: 3.64.0
@payloadcms/drizzle: 3.64.0
@payloadcms/email-nodemailer: 3.64.0
@payloadcms/graphql: 3.64.0
@payloadcms/live-preview: 3.64.0
@payloadcms/live-preview-react: 3.64.0
@payloadcms/next/utilities: 3.64.0
@payloadcms/payload-cloud: 3.64.0
@payloadcms/plugin-seo: 3.64.0
@payloadcms/richtext-lexical: 3.64.0
@payloadcms/translations: 3.64.0
@payloadcms/ui/shared: 3.64.0
react: 19.1.0
react-dom: 19.1.0
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:25 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6020
Available memory (MB): 16384
Available CPU cores: 10
Metadata
Metadata
Assignees
Labels
No labels