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

Table Form with Date Picker throws errors after submit and re-edit #460

Closed
ianellis90 opened this issue Apr 19, 2016 · 2 comments
Closed

Comments

@ianellis90
Copy link

Hi,

Please checkout my plnkr -> http://plnkr.co/edit/KzAwC1W0S7SZaG0wghl0

I'm trying to implement a table where some of the columns are date pickers but keep getting errors when opening the date picker again after submitting the table form.

Steps to reproduce:

  1. Click Edit button.
  2. Open one of the date pickers and choose a date.
  3. Click the Save button to submit the form.
  4. Repeat steps 1 and 2 and you'll see the errors in the console.

Seems like the ngModelCtrl of the 'UibDatepickerController' is not being set the same second time around as the first.

@ianellis90 ianellis90 changed the title Table Form with Date Picker throws errors after save and re-edit Table Form with Date Picker throws errors after submit and re-edit Apr 19, 2016
@ckosloski
Copy link
Contributor

Duplicate of #449 and #450

@ianellis90
Copy link
Author

Excellent thanks for the help @ckosloski.

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