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
I am trying to update the moment picker value from controller by updating the model but its not working. here is my codes:
<div class="input-group" moment-picker="model.checkInDate" min-date="model.minCheckInDate" change="changeDate()" locale="{{$root.language}}" format="LL"> <input class="form-control" placeholder="Select a date" ng-model="model.checkInDate" ng-model-options="{ updateOn: 'blur' }" autocomplete="off"> </div>
js:
$scope.model.checkInDate = (some valid date)
The text was updated successfully, but these errors were encountered:
Hi @yunusemreuveyik, I recently had the same issue where a duplicated datepicker was created when the model value is changed, I came across this => https://stackoverflow.com/questions/43558005/date-format-issue-in-angular-moment-picker-library Try changing the attribute for moment-picker and ng-model. It fixed my issue.
Sorry, something went wrong.
No branches or pull requests
I am trying to update the moment picker value from controller by updating the model but its not working. here is my codes:
js:
$scope.model.checkInDate = (some valid date)
The text was updated successfully, but these errors were encountered: