Hello ionic world !
I have this screenshot here with an issue i just got after upgrading ionic-cli to version 3.4.0 a few minutes ago. Does anyone face this issue yet ? If so, how did you guys deal with it since it freezes the interface and i can not click on anything.
If i remove the entire ion-item tags, it does not throw this warning. But when i have the ion-item tag with the label and input, i got the warning and it does not freeze the UI
Please edit your post and use the </> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.
You’re overpowering the number of conditions on your inputs, and a conflict is arising somewhere. I don’t see why you need ngModel at all, and that’s the first thing I’d remove. Define a submit handler for your form, check input correctness inside the submit handler, and, if that fails, pop appropriate errors.
Also, I don’t understand why the logical candidate for your submit button lies outside the form. That might be a source of conflict also. What I do in my login form is that the login button goes to the submit handler, and, only if all checks on input correctness pass, does the submit handler call loginUser().
Dear Aaron, I didn’t understand what exactly you mean.
I have the same problem (7 violation), but I can’t see where I overpower the input condition, simply I’m using ngmodel (because I need to show the value that may be update).
For what I understand until now this is only a warning about a possible improvement; I don’t have problem of slow gui.
I didn’t find out why the warning… (all my ngmodel have it)