Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Focus
Message
 
 
À
26/07/2014 03:53:53
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Divers
Thread ID:
01604694
Message ID:
01604755
Vues:
35
>>I just added this line into it
>>
>> if (element[0].disabled = "false")
>>
>>Not sure, if correct at all or not. Will try it out.
>>
>>UPDATE 2. Adding this line made control show disabled, so I removed it from the directive.
>>
>>Thanks in advance.
>
>= is assignment. Use ===

I think I got the idea I thought of originally implemented. See my solution and discussion here

http://stackoverflow.com/questions/24966135/conditional-focus/24978138#24978138

Since I am very new to AngularJs I may be not using best practices. If you can check my implementation, can you tell if it's OK?

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


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform