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

[Ionic v4] Method Datetime.open() missing #14923

Closed
peterpeterparker opened this issue Jul 28, 2018 · 2 comments
Closed

[Ionic v4] Method Datetime.open() missing #14923

peterpeterparker opened this issue Jul 28, 2018 · 2 comments
Assignees

Comments

@peterpeterparker
Copy link
Contributor

Ionic Info
@ionic/angular: "4.0.0-beta.0"

Describe the Bug
The method open() in Datetime hasn't been migrated

This method is particularly useful and needed if a date time picker would have to shown to the user but not triggered by an input field (for example if I want to open the date time picker from a button, like I do in my v3 app)

Expected Behavior
Migrate the method open() of Datetime to Ionic v4

@peterpeterparker
Copy link
Contributor Author

peterpeterparker commented Aug 19, 2018

Works like a charm in beta.3

 @ViewChild('myPicker', {read: Datetime}) myPicker: Datetime;

  something() {
     this.myPicker.open();
 }

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 18, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants