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

Causes datepicker form elements to be marked dirty in AngularJS & AngularStrap #23

Open
james-bell opened this issue Sep 26, 2014 · 0 comments

Comments

@james-bell
Copy link

When there's a form element using AngularStrap's bs-datepicker autofill-event causes the element to be marked as dirty, Angular then sees the form as dirty too. Depending on the timing, the date may show as dirty immediately or only after you click on another field or two. Plunker showing this is here:
http://plnkr.co/edit/gYPSOaXARoHiCrkeTAjh?p=preview

Also seen with Angular 1.2.6 and with Angular-Strap 2.1.1. Firefox 32.0.3 & Chrome 37

Just guessing but somehow autofill-event is seeing the instantiation of the bs-datepicker element as an autofill event?

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

1 participant