Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Focus
Message
 
 
General information
Forum:
Javascript
Category:
Other
Title:
Miscellaneous
Thread ID:
01604694
Message ID:
01604755
Views:
34
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform