Closed BahdanauYa closed 10 months ago
It only happens in the case of OData back-end.
When GridMvcCore is used it doesn't return any error:
I can not change the behavior when OData is used because it depends on the ODataController implementation. In fact ODataController returns the error even before any code in the controller action is executed.
Anyway, this is a possibility of a crash. Maybe it's possible to change control behavior - don't send invalid data (letters for number field and null/empty for Date) from ui control to backend
GridBlazor 4.0.6 does not send invalid data when using OData back-end
Actual for the date column when filter value is empty and you click Apply and for columns of numbers when you enter letters and click Apply.
.HandleServerErrors(false, false) is not a solution, it's just hiding the problem
Expected Behavior: no error, invalid filter value cleared and not applied