Habpanel checkbox settings

Hello,

I’m unsure if that’s the good place to post this, sorry if it isn’t, I haven’t really found out where I should post this. I have a custom widget that does everything I want, but I’d like to have the possibility to hide a specific settings when a checkbox is unset. I’ve tried using ng-if="(config.checkbox)==“TRUE” but that didn’t worked. I tried 0, 1, ON, OFF, no go. How do we use a checkbox settings from HabPanel in the widget code for condition?

Thank you!

Use

ng-if="config.checkbox" 

without curly braces.

3 Likes