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

Add a multiple choice field type for power parameters #3388

Closed
cpg1111 opened this issue Dec 6, 2021 · 1 comment · Fixed by #3467
Closed

Add a multiple choice field type for power parameters #3388

cpg1111 opened this issue Dec 6, 2021 · 1 comment · Fixed by #3467
Assignees

Comments

@cpg1111
Copy link

cpg1111 commented Dec 6, 2021

Describe the bug
For the IPMI power driver, we're extending the parameters to allow the user to set workaround flags (ipmipower -W <flag>). This field can take multiple flags, and so the power parameter field type multiple_choice has been added on the backend, but the UI still needs to add an input for this type in the power parameters.

maas-ui version
HEAD (this is for the next release)

MAAS version
HEAD (this is for the next release)

LP issue
lp:1953395

To Reproduce
N/A

Expected behavior
Render a multiple choice field.

@Caleb-Ellis
Copy link
Contributor

The changes we need to address include:

  1. Rendering a multiselect if the field's field_type === "multiple_choice"
  2. Handling a default value that could be an array of values

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

Successfully merging a pull request may close this issue.

3 participants