Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onChange event triggers on first render which sets a current date #9

Open
narendrachettri opened this issue Sep 25, 2021 · 2 comments

Comments

@narendrachettri
Copy link

nepali calendar error

here you can see even i haven't select a value from calendar it's printing the current bsDate on first render. either put the date value onClick rather than onChange. If it's rendering by default put currentDate blank by default

@sbmdkl
Copy link
Owner

sbmdkl commented Sep 25, 2021

Hi @narendrachettri, I got your issue, previously I thought you only don't need value in your input at initial. I didn't think about the initial value from onChange. I will update you once the changes are done.

@narendrachettri
Copy link
Author

also check the default date if i want to put a default value initially on calendar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants