Help with checkbox, please!

Help with checkbox, please!

  

I created a list where the source is an excel file which is a list of vegetable names. I added a card widget to display the name. I also added a checkbox on the right side so it would be easier to list the vegetables. However, whenever I click a checkbox, the other checkboxes are also enabled. I hope someone can help.

Hi,

You should have a boolean attribute on your recordset to match the checkbox value.You can use the "Boolean" structure available on RichWidgets and add it as source to your Aggregate.



Forgot to say that I'm making a mobile app.

It shouldn't change much.

Create a structure with a single boolean attribute:

Then, on the screen, fetch the Vegetable entity and the structure:

And make sure to match the checkbox with the boolean value:


Give it a try.


Hope it helps.