Timepicker seems to cause ng-dirty status on loading of form
This issue seems to be visible even on the angular-strap website demo of the time picker - the runtime class of the form is "form-horizontal well ng-valid ng-dirty".
In my application adding a timepicker field to a form causes it to be dirty upon loading.
We could try to use $setPristine for this but it is still on the unstable branch.
I think this is because the code in timepicker.js hooks up the changeTime.timepicker handler before init the timepicker, the timepicker fires this event when init as it sets the default.
I would suggest that the line element.on('changeTime.timepicker', function(ev) { Be moved to after the line element.timepicker($strapConfig.timepicker || {});
Hope that helps!
The AngularStrapv2.0.0 has been released with a new version of this plugin. The former version is now both deprecated and unsupported.
Please try to reproduce your issue against the master branch.
Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.