xpepermint / angular-ui-switch

On/off switch button for AngularJS. DEPRECATED!
278 stars 125 forks source link

how to change true of false value to 1 and 2 #62

Open jesseyu opened 6 years ago

jesseyu commented 6 years ago

hi ~dear friend, how to change true of false value to 1 and 2 ,thank you !

jesseyu commented 6 years ago

I try in template input label add ng-true-value="1" and ng-false-value="2",but Can not use !

ericnewton76 commented 5 years ago

You're probably gonna need to adjust those values once you need them. That's more of a data translation task.