29
Views
11
Comments
Solved
DropdownTags
Question
Application Type
Reactive

Hi Team, I am using DropdownTags in React web app. I am selected the value and stored that value into database. same value want to be display next time loading i have added screen shot below like this. how can I achieve could you help me on that?


2025-04-08 13-09-23
Shubham Shrivastava
Solution

Hi Githiyon J, 

I did some changes in your OML. Please refer it below.

ResearchReact.oml
UserImage.jpg
Githiyon J

Hi Shubham, You are assigning value into  LocalVariable it will work? because we need to assign or append value into selected list correct?

2025-04-08 13-09-23
Shubham Shrivastava

Yes it will work as I also save the data in the database and retrieving the data in On after fetch event in the GetApprover1s Aggregate. But its missing in your OML.

image_2024_01_04T13_43_48_011Z.png
image_2024_01_04T13_44_24_772Z.png
image_2024_01_04T13_44_46_948Z.png
UserImage.jpg
Githiyon J

Hi Shubham, Where I am missing the logic in my oml?

UserImage.jpg
Githiyon J

Thanks Shubham your valuable support. my issue got resolved. thanks lot.

UserImage.jpg
Githiyon J

Hi Prince, I am filling DropdownTag list   from  Getusers Table  and  that data Stored different table ext tblApproverList. when next loading I want to map the  data into dropdown tags.



Selected and Stored value need to show next time same request if i am loading like that above attached screen.


UserImage.jpg
Githiyon J

Please find my oml

ResearchReact.oml
UserImage.jpg
Githiyon J

before append  my previous data I am clearing the the data then i want to append last time sored  data

2025-04-08 13-09-23
Shubham Shrivastava
Solution

Hi Githiyon J, 

I did some changes in your OML. Please refer it below.

ResearchReact.oml
UserImage.jpg
Githiyon J

Hi Shubham, You are assigning value into  LocalVariable it will work? because we need to assign or append value into selected list correct?

2025-04-08 13-09-23
Shubham Shrivastava

Yes it will work as I also save the data in the database and retrieving the data in On after fetch event in the GetApprover1s Aggregate. But its missing in your OML.

image_2024_01_04T13_43_48_011Z.png
image_2024_01_04T13_44_24_772Z.png
image_2024_01_04T13_44_46_948Z.png
UserImage.jpg
Githiyon J

Hi Shubham, Where I am missing the logic in my oml?

UserImage.jpg
Githiyon J

Thanks Shubham your valuable support. my issue got resolved. thanks lot.

UserImage.jpg
Githiyon J

hi shubham, as per your code need to come like this 

but not working please find my oml.

ResearchReact.oml
UserImage.jpg
Githiyon J

Hi Prince could you check current oml i have attached.

where i am missing?

ResearchReact.oml
UserImage.jpg
Githiyon J

Ex: input value: I am Selecting Dropdowntags value and storing db. Same request if i open again need to show when page onintialzie or onready.

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