-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
FormTokenField
v2: gather initial feedback
#64086
Comments
Copying some feedback shared by @jarekmorawski
|
Some items from my wishlist are based on my work on the
|
Interesting point — it would be great if you could gather examples of this pattern in existing UI libraries or products across the web.
Since the new version of the component will likely be a compound component (ie. exposing sub components like, ie., |
There's an experimental Is that what you mean? |
Tag + Combobox looks fantastic.
I'm still not sure about this. Seems like it would add a lot of complexity? How would you re-order as a keyboard user? |
A few additional issues that have come up historically and could be of interest for the round of feedback: |
One solution would be to let users use the arrow keys while holding Alternatively, if we aimed to follow accessibility guidelines to a dot, we'd add a |
Context
As we're slowly starting to roll out new versions of existing components, we want to start gathering feedback on what changes, improvements, and new features we'd like to see applied to such components.
While we initially focused on
Tooltip
(shipped),Tabs
(almost ready), andDropdownMenu
(still WIP), we think that the next batch of components that we'll focus on is going to beCustomSelectControl
,ComboboxControl
andFormTokenField
.We see these three components as related:
CustomSelectControl
is the first component in the group that we'll focus on, since it is the simplest of the three;ComoboxControl
will come after, since it kind of builds onCustomSelectControl
and adds a text input to search through the options;FormTokenField
will be the last component of the group, as it's the most complex, and kinda builds on top ofComboboxControl
, adding the token "chips".Note
Given how closely related to each other these components are, I believe that we should consider designing those three components together.
Tip
Also, please note that at this point in time, we can't offer estimates of when we'd be able to start working on those components, as we're still going through a learning phase with the
DropdownMenu
rewrite.Feedback
I will update this section as we gather feedback.
CustomSelectControl
V2 withrenderSelectedValue
FormTokenField
suggestions to use keywords #33334)maxLength
#42773FormTokenField
to be selected and copied #35940cc @WordPress/gutenberg-components @WordPress/gutenberg-design
The text was updated successfully, but these errors were encountered: