angular-bootstrap-toggle icon indicating copy to clipboard operation
angular-bootstrap-toggle copied to clipboard

How can i set enable by controller ?

Open imperd1x opened this issue 8 years ago • 2 comments

I'd like set ON the toggle from controller if value is 1 and OFF if value is 0. Could you give me some help ? Thanks

imperd1x avatar Apr 24 '17 08:04 imperd1x

@cristianodpp I am looking for a similar solution. Were you able to figure out something? Also, we may propose a feature request to give an override for True/False. This override value should be able to define what value the toggle is on, and for what value the toggle is off.

shubhammakharia avatar Jul 17 '17 14:07 shubhammakharia

I have implemented this feat, see #23 .

DarkNami avatar Sep 26 '17 09:09 DarkNami