How to make multiselect work in a list in vdesigner2.0

how to select multiple options in a list.

@Ritik_Dixit can you please explain this as you implemented this in YBL.

@Sanjali_Mehta

  • Make a List:
    Create a list to display items.

  • Connect Data to the List:
    Link the list to your JSON data so that it automatically fills with information from the JSON.

  • Customize List Items:
    Add text, icons, or anything you need inside each item in the list.

  • Find the Selected Item:
    Set up a function to check which item the user clicks on and get its position in the list.

  • Track Selection:
    Use a toggle function to mark items:

  • “Y” if the user selects the item.

  • “N” if the item is not selected.

  • Take Action Based on Selection:
    Depending on whether the item is marked as “Y” or “N”:

  • Show or hide the item.

  • Perform other actions you need.

  • for example :