Closed hellowin closed 9 years ago
fixed
@JumpLink thank you.
Sorry to say, but it does't still work properly: model doesn't get updated
<div class="row row-no-margin padding-bottom-5">
<toggle-switch ng-model="disableAdvertising" class="switch-les" html="true" on-label="{{'YES' | translate}}" off-label="{{'NO' | translate}}"></toggle-switch>
<span> Disable advertising</span>
</div>
<div ng-if="!disableAdvertising" class="row row-no-margin padding-bottom-5">
<toggle-switch ng-model="defaultContent" class="switch-les" html="true" on-label="{{'YES' | translate}}" off-label="{{'NO' | translate}}"></toggle-switch>
<span> Use default advertising content</span>
</div>
<span ng-if="!defaultContent">123</span>
Are there any angularJS or Bootstrap version restrictions?
Unfortunately, same issue still occurring here as well. Not the end of the world, as ng-show works fine for what I need.
I try
And someModel not updated if toggle switched.