Advanced search suggestions #787
Unanswered
mauritskorse
asked this question in
Feature Requests
Replies: 1 comment
-
I have found a way to override the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to create a search input with search suggestions (something like Algolia search). Basically that means that I am looking for a search field that shows suggestions. The popover showing the suggestions should be able to contain more details than just the name of the search result; for example a category to which the result belongs (in a fancy flux badge of course), some description, or the snippet(s) in which the searched query was found.
As example the livewire search:
I have tried various routes (using dropdown, command and autocomplete), but the one that already seems to work best is using a combobox that dynamically loads the results. However, for further improvements it would be great to have the following options:
matchWidth
property on the Anhorable configurable (can't do that myself as it is part of the webcomponent js)align
attribute in ui-select. Whereposition
andoffset
are already available, align is not. Especially when the width of the option popover does not match the search input, it would be great to have thealign
attribute avaible.Disabling the width match of the search field with the search suggestions and being able to set the align attribute are the most important ones as it would keep the search field space efficient inside a navigation bar, while allowing a spacious popover that can properly show the details of the suggested search results.
Beta Was this translation helpful? Give feedback.
All reactions