164
Views
5
Comments
Solved
[Drag And Drop in Reactive] how to save the result list
drag-and-drop-in-reactive-oml
Reactive icon
Forge asset by DiogoRomero
Application Type
Reactive

Hi all, I'm using the forge component "Drag And Drop in Reactive". In my application I've 3 lists where the first two are the lists with the "main" element, meanwhile the 3rd list will be populated with the elements inside the other two.

As you can see, in the third list, depends on what I have selected in the 2 drop down menu above these lists, there are some default elements already loaded within. So what I want to do is to save in a new variable all the elements stored inside the 3rd list, because I want to use them as options for a new dropdown. Anyone knows how to do that?

2021-08-04 12-19-54
Mayank Dharmpurikar
Solution
2021-08-04 12-19-54
Mayank Dharmpurikar

Hi Francesco,

To meet your needs, I created a simple demo.

In my demo, I have three lists (Employee, Department, and List3); you can drag an element from the Employee and Department lists and drop it into List3; once dropped, you can see what elements List3 contains that the above dropdown also contains.

UserImage.jpg
Francesco Mercurio

Hi Mayank

your demo is exactly what I need. Can you please give me the .oml file of this demo? So I can look how to implement this solution on my project.

2021-08-04 12-19-54
Mayank Dharmpurikar
Solution
SampleApp2.oml
UserImage.jpg
Francesco Mercurio

Thank you for your help, I really appreciate it.

Regards.

2021-08-04 12-19-54
Mayank Dharmpurikar

I'm glad to hear that the above solution was beneficial to your project.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.