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.

More than one custom value accessor matches form control with unspecified name attribute when using with Ionic 4

See original GitHub issue

When I try and use this with an <ion-input currencyMask></ion-input> an error is presented that says:

More than one custom value accessor matches form control with unspecified name attribute

It works fine when I use it with a standard <input> tag, but then I lose all of the ionic features of an ion-input. Any ideas how to fix this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
Slavrixcommented, Nov 18, 2019

To make it look like its working with ionic 4

you can place an input inside and ion-input

them apply this css to the internal input; .fakeInput { width: 100%; border: none !important; outline: none !important; } its hacky, but it does the job.

0reactions
dmastagcommented, Feb 12, 2022

I don’t understand how this works Would anyone be able to submit an example ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: More than one custom value accessor matches form ...
Hey, I 'm using the Angular 5.0 and Angular Material 2.0.0-beta.8, when i applied the ngx-mask within my custom component i got the...
Read more >
Angular 2 multiple custom value accessor - Stack Overflow
ERROR : More than one custom value accessor matches form control with unspecified name attribute. Is there a way to do this kind...
Read more >
more than one custom value accessor matches form control ...
More than one custom value accessor matches form control with unspecified name attribute ... The problem here is: the ngx mask and angular...
Read more >
ore than one custom value accessor matches form control with ...
When you get the error No value accessor for form control with unspecified name attribute , there are generally two things that possibly...
Read more >
angular/material2 - Gitter
because whatever the [value]= s is what the is set as the input's value ... because of the "More than one custom value...
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