search

Home  >  Q&A  >  body text

html - The switch button in angularJS does not operate

As shown in the picture. In angular, if you use ng-repeat="app in apps"
The switch button below this paragraph cannot be switched

I suspect that the switch is not assigned a value in the controller.
But in fact, even if you write selected in it, there will be no response

Solution, solution~~

高洛峰高洛峰2754 days ago584

reply all(3)I'll reply

  • 天蓬老师

    天蓬老师2017-05-15 16:53:51

    In the end, this problem was not solved, so I had to write one myself using CSS.

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-15 16:53:51

    Copy the code

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-15 16:53:51

    hello, I have also encountered this problem. I would like to ask, how did you write it? Can you tell me?

    reply
    0
  • Cancelreply