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
{{ message }}
Repository navigation
How to achieve multiple create items in USelectMenu/UInputMenu? #6535
I'm using a USelectMenu to select over multiple entities. I would like to have a separate create item for each. However, currently only 1 create item seems to be supported directly.
If I naively just include my own create items (of type: 'item') with appropriate onSelect, then they get filtered out by the search.
Workarounds:
Make a default create item followed by a modal/popover asking which type of item the user actually wants. Working, but awkward UX.
Make naive create items always include the search term so they are not filtered out. Works but meh?..
Proposal: if currently there is no clean way, then add new property always to an item of type: 'item' which excludes the item from filtering. The property also easily covers all cases of create-item, so the latter can even be deprecated if desired.
Activity