We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the directive is on input and ngModel === momentPicker the input does not get updated when model changes are done outside of the directive.
ngModel === momentPicker
Reproducer:
<input class="form-control" moment-picker="ctrl.stringDate" format="YYYY-MM-DD" ng-model="ctrl.stringDate" ng-model-options="{ updateOn: 'blur' }"> <a href="#" ng-click="ctrl.stringDate = '2017-01-01'">Update</a>
I don't know if this could be easily fixed. However, I'd suggest to use moment-picker without value in this case, but that does not work too.
moment-picker
<input class="form-control" moment-picker ng-model="ctrl.stringDate" ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the directive is on input and
ngModel === momentPicker
the input does not get updated when model changes are done outside of the directive.Reproducer:
I don't know if this could be easily fixed. However, I'd suggest to use
moment-picker
without value in this case, but that does not work too.The text was updated successfully, but these errors were encountered: