angular-ui-switch icon indicating copy to clipboard operation
angular-ui-switch copied to clipboard

how to change true of false value to 1 and 2

Open jesseyu opened this issue 7 years ago • 2 comments

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

jesseyu avatar Dec 01 '17 07:12 jesseyu

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

jesseyu avatar Dec 01 '17 07:12 jesseyu

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

ericnewton76 avatar Nov 29 '18 16:11 ericnewton76