atstockland said over 2 years ago on Slim Select with Stimulus :
Hi Dave - I'm still unsuccessful in rendering a slim-select menu with options loaded from Ajax, where an initial value is selected.  I have a field that auto-populates based on the users input selection from their previous record.  So, the slim-select will load pre-selected to their last saved selected, with the option to search for a different selection.  This is tough.  It seems doable, but I haven't figured out the secret sauce, yet.  In your travels with slim-select did you see/learn anything to pull this off?

I find that adding the option and marking it "selected" in the view actually blocks slim-select from loading options from Ajax.  I'm not sure why, you'd think the new Ajax call would over write the existing select options, but instead it chokes...and nothing happens in the view.

Thanks!  I'll post back if I find a solution to this.