angular-input-masks icon indicating copy to clipboard operation
angular-input-masks copied to clipboard

date mask apenas mês e ano (month/year only)

Open augustolima opened this issue 7 years ago • 3 comments

Existe alguma forma de eu adicionar uma mask de data que inclua apenas mês e ano?

Tentei utilizar ui-date-mask="MM/YYYY" e não funcionou, fica adicionando a data completa.

~

Is there a way to add a date mask with month/year only?

I've tried ui-date-mask="MM/YYYY" and didn't work, still getting the full date.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

augustolima avatar Mar 29 '17 14:03 augustolima

I tried ui-date-mask="MM/YY" in my project for credit card expiration date. The mask worked, but it also affected other ui-date-maks in the page. Looks like the last 'ui-date-mask' sets some global config.

cafe01 avatar Jun 13 '17 19:06 cafe01

@augustolima me too, is not working the custom mask

williansmartins avatar Aug 23 '17 02:08 williansmartins

I'm having the same problem

kaiserbock avatar Nov 29 '17 13:11 kaiserbock