You sure this is OK?
Also, the first screenshot - please read my post again, you’re just expanding and expanding the same array:
we keep adding duplicate entries to the array every time the user commits
If the user adds more than one name, you’ll get duplicates. Consider a small pure getter function that reads the content of the combo box - this way you won’t even need to keep track of another array - called Combo Name
in your script.
Print what you’re trying to save - see if it checks out.