Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): disableListColumn on first field breaks filter condition sel…
…ection (#10267) What? This PR fixes an issue with the WhereBuilder where if the first field in a collection had disableListFilter enabled, the select in that fields Condition would be rendered disabled, making it impossible to query docs in list view. Why? To allow users to query their documents while still being able to set disableListFilter on fields regardless of where they are in the collection hierarchy. How? By setting the intitial field selection to the first `admin.listDisabledColumn: false` field when clicking the Add Condition button in the WhereBuilder and Condition components. Fixes #10110
- Loading branch information