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

Change timepicker input to string? #1124

Closed
damiandennis opened this issue Oct 14, 2016 · 3 comments
Closed

Change timepicker input to string? #1124

damiandennis opened this issue Oct 14, 2016 · 3 comments

Comments

@damiandennis
Copy link

Any chance of changing the ngModel input to a string, This makes the most sense since that is usually how it will translate from a database without any extra work. The problem I am faced with is linked below with Dates being generated in a getter causes the browser to crash.

angular/angular#12288

@damiandennis
Copy link
Author

found a workaround if I define a new Date() as a property in the class it avoids the problem.

@valorkin
Copy link
Member

angular/angular#3009

@valorkin
Copy link
Member

ok, sounds reasonable

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

No branches or pull requests

2 participants