How to setup an input as toggle control
In ionic framework, how to configure an input to be a toggle control.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
In ionic framework, how to configure an input to be a toggle control.
Hi,
Please find more here http://ionicframework.com/docs/compon...
If I set the class of input to "toggle" and the type of input to "checkbox", track and handle div are not added to the final html. Also, I can't do a list of toggle control.
Hello Lai,
We are very sorry for the delay.
At the program level you would need to work with the input's type checkbox which is hidden, ie its value should be read and written, or you may hang ng-model to it.