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

Implement a Select control #3931

Closed
cr101 opened this issue Dec 12, 2017 · 1 comment
Closed

Implement a Select control #3931

cr101 opened this issue Dec 12, 2017 · 1 comment
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@cr101
Copy link

cr101 commented Dec 12, 2017

It would be great to have a Select field type in Gutenberg out of the box. The component could be used to link two different CPTs (Books and Authors) or select multiple custom taxonomy terms. This React Select control (https://github.com/JedWatson/react-select) is a great one.

@jorgefilipecosta jorgefilipecosta self-assigned this Jan 6, 2018
@hadamlenz
Copy link

I just implemented react-select in this component in my first custom block. Much of it is from the githubusers example on JedWatson's project

Check out the edit statement here to see how it works in registerBlockType()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants