You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filterOptions configuration is correctly applied on the create/edit view for a relationship field but is not enforced in the list view when adding filters.
Notes: I added a new collection MediaType which is used as a relation in Media collection, with filterOptions set to mediaType equals image. (See the code)
In the MediaType collection, create the following media types: "image", "foo", "netflix"
Create a new Media item. In the mediaType field, notice that only "image" is shown as expected (filtered correctly by filterOptions).
Save the new Media item.
Navigate to the Media list view and add a filter where mediaType equals...
Observe that all MediaType options (image, foo, netflix) are displayed in the dropdown, ignoring the filterOptions configuration.
Expected Behavior:
The filterOptions should also be applied to filters in the list view, ensuring consistency across create/edit and list views.
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Payload: 3.15.1
The text was updated successfully, but these errors were encountered:
Describe the Bug
The
filterOptions
configuration is correctly applied on the create/edit view for a relationship field but is not enforced in the list view when adding filters.Link to the code that reproduces this issue
LimChorngUan/payload-bug@inline-block-drawers-open...filterOptions
Reproduction Steps
Notes: I added a new collection
MediaType
which is used as a relation inMedia
collection, with filterOptions set tomediaType
equalsimage
. (See the code)Expected Behavior:
The
filterOptions
should also be applied to filters in the list view, ensuring consistency across create/edit and list views.Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
The text was updated successfully, but these errors were encountered: