Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Problem with input date

$
0
0

I am using input date for my Ionic code and have this line of code to set min date

 <input type="date" name="endDate" ng-model="ctrl.model.Period.endDate" min="{{ctrl.minDate | date:'yyyy-MM-dd'}}"  class="input-field" required/>

However when I use the input in the device the calendar on the left show wrong date - december 2100.

How can I make the calendar on left show the current mont and year.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>