Select Box not show as selected for last selected value
Posted: Wed May 16, 2018 10:40 am
Hello,
I'm having an issue where I load up the select box from a database file. That's works wonderful. Then I'm retrieving which of these have been selected from another table and building that as commas separated. If I had a total of 10 entries on my list box and 5 are loaded to be selected, only 4 shows as highlighted. Of those 10 entries if I only loaded 1 as selected, then nothing shows as selected. What's weird is that when I click on any other field or even hover over the select box, that last selected entry automatically shows as highlighted.
I'm curious if this is a know problem or if there's something I'm doing wrong.
Other Info:
The multiselect list box is loaded from a table. This works.
Then, I build which of these are selected (from another table) via comma separated field. All of these properly show as selected except whichever value is in the last postion.
However; when I hover over the listbox or click on any other field, then the remaining element magically appears as select.
Thanks for any help,
Jim
I'm having an issue where I load up the select box from a database file. That's works wonderful. Then I'm retrieving which of these have been selected from another table and building that as commas separated. If I had a total of 10 entries on my list box and 5 are loaded to be selected, only 4 shows as highlighted. Of those 10 entries if I only loaded 1 as selected, then nothing shows as selected. What's weird is that when I click on any other field or even hover over the select box, that last selected entry automatically shows as highlighted.
I'm curious if this is a know problem or if there's something I'm doing wrong.
Other Info:
The multiselect list box is loaded from a table. This works.
Then, I build which of these are selected (from another table) via comma separated field. All of these properly show as selected except whichever value is in the last postion.
However; when I hover over the listbox or click on any other field, then the remaining element magically appears as select.
Thanks for any help,
Jim