How to display data-source column value as drop down?


I have a table with only 1 column with the data I want to list down as options in drop-down menu.

I have a query called populating the data from that table.

How do I call them into the drop down as options?

This is my table

These are the results from the machine query

How do I do this?

Hey! Please checkout this zero to hero tutorial on drop downs - Everything About The Select Widget: HDIDX #6 - YouTube

Add this in your options -

{{ <query_name> => ({ label: i["Machine List"], value:  i["Machine List"]})}}

Hi Pranav,

Thanks for your time. I actually figure it out soon after the post, forgot to close it.