Thanks Sander. With you code the disabled part works fine as once disabled 
one cannot click. But if you add disabled='false' then it still remains 
disabled.

On Friday, 13 March 2015 07:28:17 UTC+5:30, Sander Elias wrote:
>
> Hi KJ,
>
> Just add in the disabled switch. have a look at this: 
> http://plnkr.co/edit/wFLNxoAWRI39kiInzBWv?p=preview
> However, I could not find a way to let your css component show to the user 
> that it is disabled. This is something you have to take care of. The 
> disabled is working, however, the user is clueless that it is indeed 
> disabled.
> There are many ways to take care of that. I don't know what will fit in 
> your surroundings. using ngHide and ngShow to show just the text in stead 
> of the input replacement would suffer in a lot of cases I suppose.
>
> Regards
> Sander
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to