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

More intuitive widget for array of numbers #72

Open
sverhoeven opened this issue May 13, 2022 · 0 comments
Open

More intuitive widget for array of numbers #72

sverhoeven opened this issue May 13, 2022 · 0 comments

Comments

@sverhoeven
Copy link
Member

The form renders a unique array of numbers as a select tag with the multiple attrib. Having to use ctrl/shift to select multiple items is something the user needs to know.

You could use checkboxes by adding

    prop1:
      items:
        hisd:
          "ui:widget": "checkboxes"`

to ui schema, but this only works for small molecules.
localhost_3000_ (8)

Another option would be to use https://react-select.com/ .

Spin off from #62 (review) comment.

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

No branches or pull requests

1 participant