Cannot select location when choosing an existing resource group
Description: When I select an existing resource group in the interactive prompt from the dashboard, the UI disables the location field. The form, however, still requires a location value to submit successfully. This leaves meunable to proceed, since the location cannot be changed and the form validation fails.
Expected Behavior: Selecting an existing resource group should either (a) auto-populate and accept the group’s actual location, or (b) allow the user to select a valid location so the form can be submitted.
The location should be disabled and default to the rg location.
I think I fixed this here: https://github.com/dotnet/aspire/pull/12888. There is already a backport PR.
Can you test whether it is still a problem using latest source?
The resource group changes went in after this change no?
Yes. My fix was in the same area but for something different.
This dialog needs careful testing after it is changed. Or more unit tests. It keeps regressing.
@captainsafia I couldn't replicate this. My theory is maybe the selected resource group didn't have a location, so the next input was set to empty string and disabled. I have a PR that checks that location has a value because removing the option to select it yourself.
Please double check if you still see this issue.