hoist-react
hoist-react copied to clipboard
Provide option on store filtering to filter based on modified values
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.