Problems with Calendar Increment/Decrement Buttons #3010
Unanswered
peteletkemanrakuten
asked this question in
PrimeReact
Replies: 1 comment
-
Yeah has to be a bug in your code somewhere if you can't reproduce on StackBlitz and the Showcase is working fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With my current setup I can use the Calendar control in PrimeReact to set the date without any issues whatsoever.
However, as soon as I click on the buttons in the increment/decrement buttons the system goes into an indefinite loop.
I've tried what I can in StackBlitz and there is works fine.
However, this is a company project and I can't put the whole project on StackBlitz or any site like that and it uses internal systems to grab data.
Here is the general flow that seems to work for all other controls, including the date selection, just not for the time selection.
a. loading values from sessionStorage if found
sessionStorage is used as this is a tabbed interface and most of the time there will be less than six simple values used by the end user.
Are there any pitfalls to using the Calendar control with allowing for time selection and using sessionStorage?
I'm still somewhat new to React and even newer to TypeScript, so I have no doubt that I've made a mistake somewhere.
Beta Was this translation helpful? Give feedback.
All reactions