angularjs - angular input[date] ng-model format -
when use input[date] in angular, input format dd/mm/yyyy value of ng-model in format yyyy-mm-dd.
is possible change format of value dd/mm/yyyy?
<input type="date" ng-model="date" class="dateinput"/>
you can use angular-ui-mask
change format [dd/mm/yyyy] ui-mask='99/99/9999'
.
Comments
Post a Comment