-
Notifications
You must be signed in to change notification settings - Fork 9
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
Provide option on store filtering to filter based on modified values #2916
Comments
@haynesjm42 - doing our weekly ticket triage and still hoping to get this into a release at the end of next week - possible for you to take a look? |
Sure will do |
Just encountered this myself when trying to apply filters to a grid with exclusively added records (always starts from an empty state in my case). Was able to work around the issue with the following code, but a flag as described above would certainly be useful here:
|
We had a run at this in #2982 but did not reach a satisfactory solution - see PR for much more context. Closing (until it comes up again) |
This came up again today in a client-app. That app was loading several "uncommitted" records by calling
Related but different issue - only |
Currently store filtering works off of committed (unmodified) values only. This is to avoid confusing behavior such as viewing a filtered list of records in a grid, editing one such that it no longer matches the filter, and having that record immediately disappear from view.
However it can be equally confusing in the other direction, where the user edits a record and now expects it to pass/not pass a filter, but does not see that happening and is unsure if their edit "worked."
If we provided the developer with an option to filter based on committed vs. modified, it would allow them to adjust based on the particular use case, and would generally make this behavior more clear / documented.
The text was updated successfully, but these errors were encountered: