You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I needed to add multi-select tags to the document creation form. The list of tag options is divided into logical groups.
In the documentation I see a Select that can be divided into groups, but Select one item at a time, which does not fit the concept of a tag array. That's how I came to MultiSelect, there is no grouping of options out of the box.
Gradually I got to the point of creating a custom Field for MultiSelect and additional styling.
I don't like the search field at the top of the list of options because it takes up space and is not used, and on a mobile phone, when opened, it immediately gets focus and opens the keyboard. I didn't find in the documentation how to hide using props, so I went to change the styles.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi. I needed to add multi-select tags to the document creation form. The list of tag options is divided into logical groups.
In the documentation I see a Select that can be divided into groups, but Select one item at a time, which does not fit the concept of a tag array. That's how I came to MultiSelect, there is no grouping of options out of the box.
Gradually I got to the point of creating a custom Field for MultiSelect and additional styling.
1. Custom component:
2. Types
3. Use in buildCollection
4. Array of Options for this case
I don't like the search field at the top of the list of options because it takes up space and is not used, and on a mobile phone, when opened, it immediately gets focus and opens the keyboard. I didn't find in the documentation how to hide using props, so I went to change the styles.
file index.css
All reactions