angular-ui-switch
angular-ui-switch copied to clipboard
how to change true of false value to 1 and 2
hi ~dear friend, how to change true of false value to 1 and 2 ,thank you !
I try in template input label add ng-true-value="1" and ng-false-value="2",but Can not use !
You're probably gonna need to adjust those values once you need them. That's more of a data translation task.