Skip to content
New issue

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

Date mask #19

Open
mikeyman77 opened this issue Feb 14, 2015 · 2 comments
Open

Date mask #19

mikeyman77 opened this issue Feb 14, 2015 · 2 comments

Comments

@mikeyman77
Copy link

I am trying to use ngMask in angular 1.3 with a Date object on the ng-model. It is not changing the output of the date in the input field. Is ngMask compatible with dates?

@marcin-wosinek
Copy link

According to angular migration guide:
"types date, time, datetime-local, month, week now always require a Date object as model (46bd6dc8, #5864)"

Maybe this is causing the issue? Otherwise punker would be nice to reproduce the issue

@candreoliveira
Copy link
Owner

NgMask is not compatible with date objects yet. I'm rewriting the mask to compress code, fix issues and use an functional approach. It will be covered in near future. However, ngMask 3.0.12 supports angular 1.3.xx (http://candreoliveira.github.io/bower_components/angular-mask/examples/index.html#/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants