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

Fix FilterForm infinite loop when used in a ReferenceManyField #8800

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

fzaninotto
Copy link
Member

Closes #8642

@fzaninotto fzaninotto changed the title Fix FilterForm infinite loop Fix FilterForm infinite loop when used in a ReferenceManyField Apr 4, 2023
@fzaninotto fzaninotto added the RFR Ready For Review label Apr 4, 2023
Comment on lines +52 to +54
if (!isEqual(newValues, form.getValues())) {
form.reset(newValues);
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix - the rest of the changes in this file are just cosmetic

@djhi djhi added this to the 4.9.2 milestone Apr 4, 2023
@djhi djhi merged commit 40f288b into master Apr 4, 2023
@djhi djhi deleted the Fix-FilterForm-infinite-loop branch April 4, 2023 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make ReferenceManyField compatible with filters
2 participants