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

Programmatic opening of date-picker component #3352

Closed
thinkdj opened this issue Apr 24, 2019 · 0 comments · Fixed by #5777
Closed

Programmatic opening of date-picker component #3352

thinkdj opened this issue Apr 24, 2019 · 0 comments · Fixed by #5777

Comments

@thinkdj
Copy link

thinkdj commented Apr 24, 2019

What problem does this feature solve?

Sometimes, we need to open a DatePicker component without the user having to click on it. Proposing .open()/.close() methods. Problem with using existing option [nzOpen] is that the control of open/close completely becomes an onus on the programmer.

What does the proposed API look like?

datepickerTemplateRefVar.open(); & datepickerTemplateRefVar.close();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment