The result always coming as "on". I want to make it get two results when on and off.
<label class="switch switch-3d switch-primary switch-success">
<input type="checkbox" (change)="isChangeLimitAccessToggle($event.target.value)" id="ifLimitAccess" class="switch-input">
<!-- [attr.disabled]="switchDisable?'':null" [checked]="switchEnable" -->
<span class="switch-label" data-on="Yes" data-off="No"></span>
<span class="switch-handle"></span>
</label>