- changed status to open
ValueDropdownList search options for grouped items
For the ValueDropdownList, current we have many items that are names similarly at the end but are grouped and tree-ified with the '/' split, e.g.
Suburb_Construction/Trigger/Butterfly Stare Zone/EnterStart Suburb_Construction/Trigger/Focus On Butterfly Trigger/EnterStart Suburb_Construction/Trigger/Noticing the Butterfly Zone Trigger/EnterStart
or
but when searching "EnterStart" using the value dropdown list you just get a list of "EnterStart" with no reference to the whole display string. e.g.
It would be nice to have an option to display the full names when searching. My workaround is to add the full path to the end of the display name
Similarly, when searching it would be nice if the search string compared to the whole display name when searching, not just the last part
And when I search the group it is in:
It does not use the full name for the search, just the final value. Would be great to have an option where you can at least get a flattened view of all search items within that group (like my workaround above). If it were to tree-ifiy the search results that would be a huge bonus in my case!
Many Thanks!
Comments (2)
-
-
reporter A custom search string would be useful in so many cases, indeed!
I wonder if the custom tree thing would be overkill but that's for you to decide. [edit: on immediate reflection, rather gimmi full control hihi :> ]
Thanks for following up on this issue ^ _ ^
- Log in to comment
Awesome feedback. Thanks!
I think could easily let the search function search on the full path by default. That makes good sense.
Regarding providing full control, we could also make an option where users can reference a method that returns an OdinMenuTree, that way you can fully customise it and build the tree to be exactly like you want.
OdinMenuItems also contains a separate SearchString so you could potentially also give it a custom string which the search function will then search on.