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
Date editor shows '00000000' when data is blank #1020
Comments
FYI: 3.5 controls provided callback that allowed for the field value to be changed before using the value in the editor. |
I think the 0000000 seems like a Locale conversion bug. |
@boehmd1 Could you please provide steps to replicate this issue? The "To Reproduce" section in the Issue Description has not been updated/changed. Thanks kindly. |
Good call - i thought i reproduced this but im not sure what the data would actually be set to. If i try this example: http://localhost:4000/components/datagrid/example-editable.html then there is some blank data that is rendering ok without the 0000000 in the grid. Is the data example like: string '00000000' ? |
Also @boehmd1 what was the option in 3.5 called? |
'loadValue' was a method on the editor. |
To reproduce... |
@davidcarlsonberg |
QA Passed. Moving t Done. |
Describe the bug
When the dataGrid makes a cell editable, if there is no cellText it fetches the field value. The field value in our application has zeros for blank date values. The date editor opens with zeros.
Below is the code that is being referenced.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect if there is no cell text then either an empty string is passed or the field value is formatted.
The text was updated successfully, but these errors were encountered: