Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different behavior in QA and local development
Message
De
07/12/2015 14:15:40
 
 
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01628590
Message ID:
01628606
Vues:
31
>Hi everybody,
>
>When I am testing a form from the local development environment, I am always getting ng-dirty for operator code and password input fields. These fields are not even visible (class ng-hide) in the edit mode, so that ng-dirty flag along with ng-untouched makes very little sense.
>
>Also, this problem only shows up in Google Chrome, IE and MS Edge browsers do not show these two controls with ng-dirty.
>
>When I test that exact page in QA site (with the latest code from development), that page is correct and both controls show ng-pristine.
>
>How can I figure out why my development environment is so deceiving and why that problem only shows up in Google Chrome?
>
>Thanks in advance.

Don't really know but a couple of points:

ng-hide basically sets 'display: none (so the element is still in the DOM)

The environment should not really make any difference - localhost, whatever - it's all happening in the browser, So if you are getting different results then there's a difference in code.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform