-
Hi, We have a problem with the DateEdit control. If you do not use the DatePicker in DateEdit, but use the keyboard instead, part of the year is deleted again and again when you enter it. The problem does not seem to be unknown and should have been fixed years ago. It is well described in the following issue: #1791 In our case, however, this only occurs on Azure. We have never observed this on the development system. Only when we deployed to the Azure Web App did this behavior become apparent (which means a show stopper for the launch of our application). Could it have something to do with performance (we have a cheap service plan for the test phase)? Is that even possible, as it should be happening in the browser and not on the server? We tried various things to find the cause. We made a test page (in the same application), which integrates the control in different ways: with and without validation, different data types (DateTime, DateTime?, DateOnly, DateOnly?), ... I don't think it's directly related to the Blazorise component (that's why I didn't record a bug). I have seen at Blazor Bootstrap that they have exactly the same problem (even on their demo site). At the moment I just have no idea in which direction I could look or change anything... Do you have any ideas? Note:
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
I can only assume that there is something with different cultures between your development system and Azure. Since DateEdit is based on native date input, this means it is fully controlled by the browser and can be affected by the server settings. So first check that. PS. I would advise against touching Blazor Bootstrap. They are being reported and sued for code infringement, so they could go down at any time. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the fast feedback. I will test this by setting the environment variable LANG (we use Linux as web app operating system). But since the error occurs on one page and not on the other (in the same app), it will probably go in a different direction...
Don't worry, I'm not planning to use these components. We almost only use the Blazorized components and are very happy with them. I just noticed it when searching Google for solutions. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, setting the environment variable LANG=de_CH.UTF-8 did not help... |
Beta Was this translation helpful? Give feedback.
-
I have now replaced the control with the one from DevExpress as a test. It works there (probably because they use the input type=“text”). Basically, I would prefer to use the Blazorise control ( consistent look), but if I can't find a solution to the problem, I'll probably have to switch to DevExpress. |
Beta Was this translation helpful? Give feedback.
-
Just use |
Beta Was this translation helpful? Give feedback.
We could try to solve the problem, if possible. But we would need a way to at least reproduce the problem on our side.
Is it an option to use DatePicker instead? Unlike native DateEdit, it uses
input type=“text”
so these problems should not be happening. We are also working on making them into DataGrid #5719