Unable to load drop-down using payload values

Hello, I am using a template node to create UI page with 2 dropdowns. The option values are in 2 arrays. When the arrays are hardcoded inside the fill1st() and fill2nd() functions, the UI page works. Now, I want the option values to be loaded from an array in the payload (as below).

flows.json (6.9 KB)

I am unable to load the values in the payload into the options.

Thanking you in advance for some help or direction on this,

Arunkumar

@ana1955 Welcome to the form.

Your flow does not provide any data for someone to test with. Can you provide a flow with some data demonstraiting your issue? Maybe use an inject node to create the data.

Also, in order to make code more readable and importable it is important to surround your code with three backticks
```
like this
```

You can edit and correct your post by clicking the pencil icon.

See this post for more details - How to share code or flow json

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.