What's the use of setDatePickerState ? and how to use it
Closed this issue · 5 comments
william-levi commented
Actually I'm trying to set the date programatically by clicking from a button
iamvivekkaushik commented
I've added a new function to the controller setDateAndAnimate
you will need to use the github version of this repo in your project.
william-levi commented
@iamvivekkaushik thanks ! nice package by the way :)
iamvivekkaushik commented
Thank you!
ChineOnw commented
Unfortunately the UI does not change. When I debugged it the variable has the new value, but the UI is not changing.
ChineOnw commented
Unfortunately the UI does not change. When I debugged it the variable has the new value, but the UI is not changing.
I just wrapped the method call inside setState()
and it works fine.