Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dropdown value is not sent from the form when creating a new provider #10435

Open
SoniaSandler opened this issue Dec 19, 2024 · 0 comments · May be fixed by #10461
Open

dropdown value is not sent from the form when creating a new provider #10435

SoniaSandler opened this issue Dec 19, 2024 · 0 comments · May be fixed by #10461
Assignees

Comments

@SoniaSandler
Copy link
Contributor

SoniaSandler commented Dec 19, 2024

Bug description

When creating a new provider (tried creating a new Podman machine and Kind cluster), the values of the dropdown options are not being taken from the form and sent to the backend.
This bug is a possible regression due to #9953

It looks like this bug only affects Dropdown values when used in form submission with new FormData() to collect all values as new FormData() only adds basic input components (e.g. select) and their values.
Most other places use the value of the custom Dropdown component and not the hidden select

Operating system

macOS Sequoia 15.1.1, M1

Installation Method

None

Version

next (development version)

Steps to reproduce

  1. Go to Settings -> resources
  2. Click on Create new... for Podman
  3. Pick the non-default option for Provider Type (GPU enabled LibKrun)

Expected: LibKrun machine
Actual result: default (Apple HyperVisor) machine

Relevant log output

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants