23
Views
2
Comments
Display drop-down tag in the order selected
Application Type
Reactive

Hi,

When I select a value I want the value in drop-down to be displayed in the text area. When I remove the tag then the value should not be removed. 

As of now when I add a value then the selected option list gets sorted in ascending order and instead of displaying the selected value it displays the value at the 0th index of the selected options list. When I close each tag then again the 0th index value gets displayed in the text area.


Can anyone give me some pointers into how I can resolve this issue?


I'm attaching the oml for reference:

EmailApp.oml
2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Roshni K ,

The issue occurs because you're always appending the first element of the list repeatedly. I recommend a different approach: loop through the list and append each element individually.

I attached the updated OML.

EmailApp.oml
UserImage.jpg
Roshni K

Hi @Mihai Melencu,

Thank you, this allows me to select new values but, do you know how I can display the elements in the text box as it is selected. In the current implementation the selected options list is automatically getting sorted in ascending order. 


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