Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Fix broken RelationshipInput after removing filter #10584

Merged

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Aug 7, 2024

This pull request fixes an issue when using the RelationshipInput component inside a listing filter, where errors occur when the filter is removed.

When the filter is removed, this.value becomes null which the items and maxItemsReached computed properties aren't expecting.

Closes #10581.

@jasonvarga jasonvarga merged commit 4f63028 into 5.x Aug 7, 2024
17 checks passed
@jasonvarga jasonvarga deleted the fix/broken-relationship-input-after-removing-filter branch August 7, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query Filter with terms fieldtype causing CP UI problems
2 participants