Product: PowerShell Universal Version: 1.5.15
I’ve been having some trouble with dynamic dropdowns, and after looking at this all day I’ve grabbed the code from Dynamic forms in PowerShell Universal Dashboard and seen it behaves the same as what I’m experiencing…
Notice how the dynamically created dropdown is fine on the initial load, but then each subsequent sync, the 2nd dropdown field doesn’t show a selection and clicking submit picks up the previously set value that it had.
I’ve also tried this outside of a form and see the same behaviour.
Does anyone have any tricks? I want to set database names based on servers so need to make sure the values selected by the user actually translate to what will be used for the SQL queries.