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

Dynamic mask support to InputMask #2632

Closed
jogelin opened this issue Apr 28, 2017 · 0 comments
Closed

Dynamic mask support to InputMask #2632

jogelin opened this issue Apr 28, 2017 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@jogelin
Copy link

jogelin commented Apr 28, 2017

**I'm submitting a **

[X ] bug report

Plunkr Case (Bug Reports)
http://plnkr.co/edit/uZdjjvGH3IhqYElGJvnm?p=preview

Current behavior

  1. Set initial mask to 10 digits: "9999999999" -> the input correctly displayed: "__________"
  2. Change the mask, by example to 5 digits: "99999" -> the input doesn't change, it still displayed: "_____"

Expected behavior
I expect to be able to change the mask of an input mask dynamically

Minimal reproduction of the problem with instructions

  1. Set initial mask to 10 digits: "9999999999" -> the input correctly displayed: "__________"
  2. Change the mask, by example to 5 digits: "99999" -> the input doesn't change, it still displayed: "_____"
  • Angular version: 4.x.x
  • PrimeNG version: 4.0.0-RC4
@cagataycivici cagataycivici changed the title InputMask : dynamic mask doesn't work Dynamic mask support to InputMask Jun 22, 2017
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Jun 22, 2017
@cagataycivici cagataycivici self-assigned this Aug 10, 2017
@cagataycivici cagataycivici added this to the 4.1.3 milestone Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants