Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior of the object
Message
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Strange behavior of the object
Divers
Thread ID:
01617448
Message ID:
01617448
Vues:
34
UPDATE. Never mind, found another place where this object was initialized.

Hi everybody,

I am having a strange behavior of the object I declare in the parent scope.

I declare this object:
   $scope.filterOptions = {
                    filterText: "",
                    useExternalFilter: true,
                    showFinalized: false
                };
while running code from the child controller I try to output the

$scope.filterOptions object in the console. And the showFinalized property is not there at all. When I reach the code that accesses it, this property shows undefined.

Why would clearly defined property suddenly become undefined?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Répondre
Fil
Voir

Click here to load this message in the networking platform