Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
If the preset is configured to include an option for a single-select (radio-button-based) parameter, the selection is not represented on the screen in case the preset is selected.
Relevant Log Output
Expected Behavior
- Upon selection of the preset the radiobutton for Region is set to the right region, while the selection of regions remains "read only".
- Upon the unselection of the preset the last selected Preset setting stays for Region.
Steps to Reproduce
- Open this template: https://dev.coder.com/templates/coder/coder-copy-bartek/workspace?version=f277c5a9-1e43-41fa-a49e-524a53d37be0
- Start workspace creation
- Select the preset with "... EU" in name. Expected behavior: German region is preselected.
- Make sure you toggle the "hide params" switch to see the params
- See that there is no radio button selected.
- Change to preset "... US". Expected behavior: US region is selected.
- Observe no radio buttons.
- Remote the preset
- Observe the selection of region not being seen.
Environment
- Host OS:
- Coder version:
Additional Context
No response