I'm creating a website to create D&D characters with a couple other people. Each class in D&D has proficiencies that you can choose from, some have multiple sets of them. For example, the barbarian (shown in the video) has one set of two proficiencies you can choose from, with 6 options. The bard (also shown in the video) has two sets of three proficiencies each, with a lot of options for both.
For some reason though, I can't get the select statements to display right. it keeps only defining the first couple, and then the rest of them are blank. Whats weird is that if i hide and unhide the elements (via switching in the tabs of the page, shown in the video) then the next select statement gets populated. This isn't a race condition issue or anything, i know for a fact that all of the select's option data is fully loaded in, because it pulls from the same array and i've printed it all out at once, before all of the tab switching and selects populating.
I've slaved over this issue for days now, and I'm coming here as a last resort lol. I have no clue what the problem could be. There's the errors that appear in the inspect window, but I don't know how to fix that. It seems to say that its missing the controls, but are they not there? i've tried predefining them and that just ends up with the select statements being empty. Any ideas?
also ignore the json data in the video, thats just for testing purposes. If you want you can look through it to make sure i have everything right lol