I am trying to get a drop down menu to dynamically populate with the names of cameras in my database. Ive done some research on here and on youtube and my settings look correct to me but there are no results found.
A) You can just useDo a search for CameraPage’s and in option caption, you can choose name. The type of choice will be CameraPage. But this is fine to use text.
B) Are you testing in live and no result but it’s working in dev? Did you check to be sure to have data in live DB too?
C) Can you share a screenshot of the Search setting?
D) In debug_mode- you can inspect the dropdown element and maybe you can see the search result there. this may help debugging
Hi Jici, thank you for the prompt reply. I am testing entirely in dev at the moment.
I tried a preview, selected the element and inspect but couldnt see the camera names anywhere.
remove the filter. This may cause issue.
That’s exactly it. You’re searching for CameraPages (why are they not just called “Cameras”, eh?) whose Name field is null (empty).
Kill that malformed field. (Or set “ignore empty constraints”.)
Thank you thats great. I removed the extra bit and added an option caption and it is now displaying