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

radio_button simple array doesn't work #3871

Closed
johrstrom opened this issue Oct 14, 2024 · 0 comments · Fixed by #3872
Closed

radio_button simple array doesn't work #3871

johrstrom opened this issue Oct 14, 2024 · 0 comments · Fixed by #3872
Labels
bug Existing functionality not working as expected component/batch_connect
Milestone

Comments

@johrstrom
Copy link
Contributor

Consider the form below. Both of these have select options that are defined as an array of scalars (an array of strings).

However, only one works (the select widget leftright).

form:
  - updown
  - leftright
attributes:
  updown:
    widget: 'radio_button'
    options:
      - up 
      - down
  leftright:
    widget: 'select'
    options:
      - left
      - right

The radio_button fails with this error complaining about the fact that we're trying to access the second field of the array for the label.

image

@johrstrom johrstrom added this to the 4.0 milestone Oct 14, 2024
@johrstrom johrstrom added bug Existing functionality not working as expected component/batch_connect labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality not working as expected component/batch_connect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant