Hello,
I've succesfully added the widget and used it. But I would need, for example have a customer and I need them to choose in which fields they operate (for example 'medical, industrial, administration, etc).
How can I do that after they choose in which fields they operate, to make the dropdown remember which were chosen, when clicked on the detail for example.
Of course for each customer I need different answer depending on what they chose when they were registered.
I hope I make sense and you will be able to help me. :)
Great day!
Hi Jan,
I'm not sure if I understand your question, sorry.
If you're asking "Does the widget remember what a user selected?", the answer is ... No.The MultiSelect_ReactAndMob widget has not been built to remember anything.
Most often you will create a database table (an Entity) that holds any data you want to remember. In this case, the user's selections.
When you want to re-create the dropdown menu with the same selections as the user had previously selected, you fetch the data from the database and use it to create a list which you pass into the widget.
When you build the list, set "IsSelected=true" for each list item (menu item) you want to appear pre-selected (already selected) when the list appears on the screen (webpage).
Hope this helps,
All the best with your developing,
Chris.