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

InputMask with dynamic source #2668

Closed
sousajunior opened this issue May 2, 2017 · 1 comment
Closed

InputMask with dynamic source #2668

sousajunior opened this issue May 2, 2017 · 1 comment

Comments

@sousajunior
Copy link
Contributor

sousajunior commented May 2, 2017

I'm submitting a ... (check one with "x")

[ x ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
http://plnkr.co/edit/i8PXBoQZwcHDjr2pZDBo

Current behavior
Today it's not possible to use inputMask with dynamic mask (mask stored in variable), because when component mask initialize with empty string inputMask brakes.

Expected behavior
Support an empty string or null and change mask when the source is changed.

What is the motivation / use case for changing the behavior?
Allow to use inputMask with dynamic source.

  • Angular version: 4.1.X
  • PrimeNG version: 4.0.X
  • Browser: [ Chrome 58 ]
  • Language: [TypeScript 2.2]
@sousajunior sousajunior changed the title Mask with dynamic source InputMask with dynamic source May 2, 2017
@cagataycivici
Copy link
Member

Duplicate of #2632

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

2 participants