I have a select component of which the options are dependent on the value of second select component. I would like the selected value of the first select to be the first of the dynamically provided options.
Here is a REPL that illustrates the issue. The options are updated, but the selected value is not updated in the parent App component. Additionally, when you first select the second or third option from the right dropdown, and then change the left one, it is not the first option that is selected in the right one.
This REPL has it working, but without the selects being child components.
There was a Svelte bug related to this, but this was solved in Svelte 3.23, see here
Any solution or workaround would be greatly appreciated.