Enable checkbox with a button


#1

How to enable a checkbox when a button is clicked?

I have an Edit button and a list of colors in a page. When Edit button is clicked, checkboxes should show up beside the list of colors.


#2

Hey.

Done you a quick repo showing how to do it.

git clone https://github.com/judgewest2000/IonicToggleExample
cd IonicToggleExample
npm i
ionic serve

#3

@Judgewest2000 Thank you, the repo you shared is blank though


#4

Apologies.

If you check now you should see something.