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

WP-Builder: enum dropdown format #74

Closed
bangank36 opened this issue Jul 24, 2023 · 1 comment
Closed

WP-Builder: enum dropdown format #74

bangank36 opened this issue Jul 24, 2023 · 1 comment

Comments

@bangank36
Copy link
Owner

bangank36 commented Jul 24, 2023

Summary

  • So far enum and oneOf controls are toggleControl only, we need to update the control with combo box option
  • Gutenberg has several control in dropdown format
  1. FormTokenField
    Accept a list of suggestions and allow multiple select from the list

  2. SelectControl
    Wrapper of <select> element, expect [value,label] options and allow multiple choices via multiple

  3. ComboboxControl
    Dropdown with search input, there is no multiple options supported

  4. CustomSelectControl
    NA

  5. MenuItemsChoice
    Menu Group is suggested to be displayed on the dropdown

  • So if the ComboboxControl should be default while the SelectControl will be rendered once the autocomplete options is false, in contrary with Mui where the autocomplete should be true to be enabled, similar to mui control, which check for autocomplete option

Reference

#40
#3

@bangank36 bangank36 converted this from a draft issue Jul 24, 2023
@bangank36 bangank36 moved this from Triage to In Progress in Personal Development Aug 1, 2023
@bangank36
Copy link
Owner Author

Closed as merged, we should move to implementation of OneOf enum

@github-project-automation github-project-automation bot moved this from In Progress to Done in Personal Development Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant