I have a collection being pulled from Xano of names and forms where there may be duplicates. I have gotten AI to write me a javascript that will show a list of distinct names and forms for a Select element.
If I have 2 of the same name but in different forms, when I select the first name, the second name populates the Select and when I show the dropdown, ticks appear behind the 2 names.
In this instance I select Aaron Peters (4-2), but the select shows Aaron Peters (3-3)
either you stick with Javascript. in that case, I’d suggest you ask AI to explain the JS it created for you or reach out to a developer to review the code AI generated.
Right now, based on the information you provided, with no knowledge of how the data set is structured or what the JS formula looks like, I really don’t know why Aaron Peters is appearing twice.
Thank you for taking the time to put together the video Steve. Unfortunately, it still doesn’t show how your data is structured and how your select is setup so still difficult to help.
Can you show:
the array that the select is bound to
what field the “label” of the select option is bound to
what field the “value” of the select option is bound to
It’d be interesting to know if the “value” field use the student’s unique database id or if uses the student’s name for example