You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When using the <ReferenceInput /> as a filter in any <List /> view and the set the filtered value, to one not existing in the API, we are in a state where no object is in the filter selected. This leads to a state where I need to remove and add the filter. This cannot only happen, when manually setting the filtered value in the URL. I first encountered this problem, when a user of my app deleted the object he was previously filtering and then came back to <List />.
Describe the solution you'd like
I have some solutions in mind which could be up to discussion.
Reset the according filter when it tries to filter for a value which is non-existent
Provide a reset filter button even if no object is shown in the dropdown, but one is set in the filter of the url
Provide a reset all filters button in the toolbar, if the filter tries to filter for an object which is not present
Describe alternatives you've considered
For the moment, I remove and add the filter again, which is not clear especially for users that do not realize the root of the problem.
Additional context
I reproduced the behaviour in the sandbox, without touching any code, by firstly selecting the filter, then selecting an object which is present and afterwards setting the id to a value not being present in the DB.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When using the
<ReferenceInput />
as a filter in any<List />
view and the set the filtered value, to one not existing in the API, we are in a state where no object is in the filter selected. This leads to a state where I need to remove and add the filter. This cannot only happen, when manually setting the filtered value in the URL. I first encountered this problem, when a user of my app deleted the object he was previously filtering and then came back to<List />
.Describe the solution you'd like
I have some solutions in mind which could be up to discussion.
Describe alternatives you've considered
For the moment, I remove and add the filter again, which is not clear especially for users that do not realize the root of the problem.
Additional context
I reproduced the behaviour in the sandbox, without touching any code, by firstly selecting the filter, then selecting an object which is present and afterwards setting the id to a value not being present in the DB.
The text was updated successfully, but these errors were encountered: