Angularjs Date Formatting On Input Field Change
This is my input field for date:
Solution 1:
You can do that by adding "| date:'dd/MM/yyyy'" to you binding. Like this:
<div class="input-group date">
<input type="text" class="form-control" id="datepicker" placeholder="dd/mm/yyyy" ng-model="abs.date | date:'dd/MM/yyyy'">
</div>
Post a Comment for "Angularjs Date Formatting On Input Field Change"