-
Notifications
You must be signed in to change notification settings - Fork 162
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
igx-grid Filter behavior #6973
Comments
@kijomito You should note that different browsers behave differently with input I believe that you have a point that the value should not be reset even if not valid, so we would try resolving that. |
@kijomito Just to add some clarification on what we can and cannot resolve in relation to this. We can prevent the input from being reverted if an invalid value is entered. Hence you will be able to enter values with the separator in Edge/Firefox as well – ex. “20,75”. As Deyan mentioned, FireFox has issues with how it parses regional specific separators (like “,”) in numeric inputs. We will document this as a limitation to prevent future confusion. The related issue is: IgniteUI/igniteui-docfx#1880 |
fix(filtering): Avoid resetting values for number inputs #6973
fix(filtering): Avoid resetting values for number inputs #6973
The fix causes issues and a new fix will be proposed in the future. |
Revert "fix(filtering): Avoid resetting values for number inputs #6973"
…-9.0.x Revert "fix(filtering): Avoid resetting values for number inputs #6973"
…-8.2.x Revert "fix(filtering): Avoid resetting values for number inputs #6973"
fix(filtering): filter behavior on number type filter #6973
fix(filtering): filter behavior on number type filter #6973
fix(filtering): filter behavior on number type filter #6973
I have the problem that the browsers behave differently. If I enter a comma in the filter of a column with the data type number in Chrome everything works. But in Firefox, IE, EDGE only an integer is adopted.
I'am using Windows 10 in German Language.
IgxGrid is set to German locale:
this.grid.locale = "de";
Version:
igniteui-angular 8.1.0
Browser Versions:
Edge: Version 80.0.361.69 and latest Windows 10 Version
Chrome: Version 80.0.3987.149
Firefox: 74.0
Steps to reproduce
Result
Filter behavior on number Field
On Dot Input:
Edge resets Filter.
Chrome resets Filter.
Chrome works with Comma!
Firefox only work with Dot in Filter ignores Comma.
Expected result
All Browsers working like Chrome with Comma for German Language.
Example on StackBlitz
https://stackblitz.com/edit/angular-xp1hw2
The text was updated successfully, but these errors were encountered: