Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Imask Date support for day/monthName/year format in angular #692

Closed
sonali395 opened this issue Jun 27, 2022 · 0 comments
Closed

Imask Date support for day/monthName/year format in angular #692

sonali395 opened this issue Jun 27, 2022 · 0 comments

Comments

@sonali395
Copy link

Below is an example of input field with date mask. I want to achieve masking for the format day/monthName/year , example : 23/Jun/1995.

Issue:
I am able to key in date in this format 23/Jan/1995 , with Jan as month name but it isn't allowing me to keyin the whole date value when I input jan in place of month holder which is also present in the enum provided to month block in the mask options.

To Reproduce
https://stackblitz.com/edit/angular-4wgdb2?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Futils.ts,src%2Fapp%2Fapp.component.ts

Expected behavior
It should allow me to keyin case insensitive month name values(eg: Jan, JAN, jan) in the date input. Also I want to enhance it further where I key in month number or alphabet and it displays the month name. For example, if I key in 6 then Jun should appear or I press J then Jan should appear

Environment:

  • Browser: chrome
  • "@angular/cli": "^13.2.6"
  • "angular-imask": "^6.4.2"
Repository owner locked and limited conversation to collaborators Sep 13, 2022
@uNmAnNeR uNmAnNeR converted this issue into discussion #731 Sep 13, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant