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
I am trying to use a custom renderer in my Search component. I want to re-use my uid and username as key without having to reformat my results to include title and key fields.
Is there a way to pass my uid as a key prop from my custom resultRenderer to <SearchResult /> inside of <Search />?
Why does using resultRenderer require a title prop? Is there a way to override this or a way around it that doesnt require altering the data objects in the results array?
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
I am trying to use a custom renderer in my Search component. I want to re-use my
uid
andusername
as key without having to reformat myresults
to includetitle
andkey
fields.Is there a way to pass my
uid
as a key prop from my custom resultRenderer to<SearchResult />
inside of<Search />
?Why does using resultRenderer require a title prop? Is there a way to override this or a way around it that doesnt require altering the data objects in the
results
array?Custom renderer:
My Search component's settings
Example results array:
The text was updated successfully, but these errors were encountered: