You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
I have a datepicker for user select his/hers birthday. I would like to put the age to the next field.
I'm using this attribute, but it puts the selected date with original date format without filters:
I have a datepicker for user select his/hers birthday. I would like to put the age to the next field.
I'm using this attribute, but it puts the selected date with original date format without filters:
ng-change="candidateAge=formData.birthday|amParse:JS_DATE_FORMAT|amDateFormat:'MM.DD.YYYY HH:mm:ss'
"JS_DATE_FORMAT
is defined, I've checked.If i would print the excepted value it works fine:
{[{formData.birthday|amParse:JS_DATE_FORMAT|amDateFormat:'MM.DD.YYYY'}]}
So why angular-moment filters doesn't work with
ng-change
?The text was updated successfully, but these errors were encountered: