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

When Press Cancel or close modal then how to check whether it has date or not selected? #52

Open
ipehimanshu opened this issue Apr 2, 2020 · 1 comment

Comments

@ipehimanshu
Copy link

Hello

When Press Cancel or close modal then how to check whether it has date or not selected?

we are using button to open datepicker and when close we take value but when cancel modal then it shows invalid date.

So have you any other way to give empty value or anything ?

Thanks

@Leo1305Pineda
Copy link

Leo1305Pineda commented Nov 19, 2020

I resolved the issue for my case, it also gives me an invalid date and it was because of the format it was not correct if you define a format make sure you pass it correctly.
#60
#testing
git clone https://github.com/Leo1305Pineda/ionic4-datepicker.git
cd ionic4-datepicker
npm i
npm run build_lib
cp -R /dist/ionic4-datepicker /you_project/node_modules/@logisticinfotech/ionic4-datepicker
cd /you_project
npm run start
`

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