question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using ngx-mask in custom form component gives error

See original GitHub issue

When I use ngx-mask in a custom form element it gives: image

I’ve made a fork of the ngx-mask repo which reproduces the this error. https://github.com/basvdijk/ngx-mask/

You can also have a look at my commit which added a custom form component: https://github.com/basvdijk/ngx-mask/commit/9059d1b9579d85bfb3414de9ebe47df25b891e0a

If this is not a bug, could you provide a code example where the ngx-mask directive is used within a custom form component?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NepipenkoIgorcommented, Apr 8, 2019

@basvdijk Hi. Thanks for using ngx-mask. We will try to solve this in few days

0reactions
basvdijkcommented, Apr 10, 2019

This seem to fix it, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular - Input with ngx-mask MatDatepicker and reactive form
According to this thread, there is no solution only a workaround: Error: More than one custom value accessor matches form control with ...
Read more >
Organize your application forms using NGX Formly - Medium
The wrappers are Components which wrap a form group. This is required to manage all the forms actions or if you want to...
Read more >
How to Use Input Masks to Validate Input in an Angular App
Input validation is always a chore to set up. An input mask is a way to enforce the format of the user's input...
Read more >
ngx-mask | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Formcontrol input value bug using ngx-mask : r/angular - Reddit
Hi everyone, I have a component which display a formgroup input field. I am also using ngx-mask with the following setup in .ts:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found