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

Editable Select Field #854

Closed
cqliu1 opened this issue May 18, 2018 · 3 comments
Closed

Editable Select Field #854

cqliu1 opened this issue May 18, 2018 · 3 comments

Comments

@cqliu1
Copy link
Contributor

cqliu1 commented May 18, 2018

Can you make an editable select field? Essentially it'd be an input field with a dropdown menu. We want to use it for number inputs with preset values like font size and rows per page for our table element.

may-18-2018 13-24-14

@cjcenizal
Copy link
Contributor

We could probably adapt EuiComboBox for this. For example, we could use the single selection example, but render the selected value as editable input instead of as a pill.

@chandlerprall
Copy link
Contributor

I wonder what additional (if any) validation needs should be included? Maybe take advantage of the pattern attribute on input fields to limit the allowed characters, but that may not work well outside the digit-only use case.

@cchaos
Copy link
Contributor

cchaos commented Sep 12, 2018

This was fixed in #1139 via singleSelection.asPlainText: bool

@cchaos cchaos closed this as completed Sep 12, 2018
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

4 participants