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
First off.. great component. I use it throughout my app and works impressive except for this issue.
I would like to be able to use @PreserveOnRefresh in my Vaadin application as well as this component, however when @PreserveOnRefresh is used on any view that uses this component and a refresh occurs, this component displays a completely different (very OLD) date range. One example after refresh was the date range was set to "1907-06-14 - 1937-06-13".
I created a test project that is a default Vaadin starter with your sample code added. My only other change was I set a default date range and I add @PreserveOnRefresh to the view.
First off.. great component. I use it throughout my app and works impressive except for this issue.
I would like to be able to use @PreserveOnRefresh in my Vaadin application as well as this component, however when @PreserveOnRefresh is used on any view that uses this component and a refresh occurs, this component displays a completely different (very OLD) date range. One example after refresh was the date range was set to "1907-06-14 - 1937-06-13".
I created a test project that is a default Vaadin starter with your sample code added. My only other change was I set a default date range and I add @PreserveOnRefresh to the view.
See my project here... https://github.com/jusjoken/myappdatetest
Note in the screen grabs that the div display is still showing the correct date range even though the component is not.
Thanks for looking into this.
![InitialViewonAppLaunch_defaultDate](https://user-images.githubusercontent.com/6617820/215271477-c12b47a3-0488-4c14-9796-aa9bc4854209.png)
![ViewDisplayAfterRefresh](https://user-images.githubusercontent.com/6617820/215271478-9eac7646-d20f-448a-854e-04a212a3558a.png)
![ViewDisplayAfterRefreshComponentOpen](https://user-images.githubusercontent.com/6617820/215271479-75628df4-67aa-482e-8ddb-1a791c6602b5.png)
The text was updated successfully, but these errors were encountered: