This should give a result like this:
Empty:
After selecting:
But if the item loadedDatesis not null, the result looks like this:
and:
The calendar is actually correctly setup, only the props are not updating.
How can make the change to the props when loading the result?
Is there a better way to wrap the calendar than I did above, because I feel that I am over doing it.
I tried wrapping the date picker in a component to use it on multiple places in my web app.
One thing is still not working for me: getting correct props values.
Here is what I did:
And I am using it like this:
This should give a result like this: Empty: After selecting:
But if the item
loadedDates
is not null, the result looks like this:and:
The calendar is actually correctly setup, only the props are not updating.
How can make the change to the props when loading the result? Is there a better way to wrap the calendar than I did above, because I feel that I am over doing it.
Thank you so much for this amazing work.