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 think it'd be useful to allow a user to pass an arbitrary set of objects to the Search widget (and perhaps, with it, a selector of some sort).
It seems from what I've read that Search conflates title with the result identifiers. So if I have:
[{id: 1,title: 'Bob'},{id: 2,title: 'Alice'}]
The behavior I'd like is that when searching on title, when an item is (or multiples are) selected I get associated IDs. I tried passing id with the results array as per above but the component complains that results is invalid. What am I missing here?
The text was updated successfully, but these errors were encountered:
I think it'd be useful to allow a user to pass an arbitrary set of objects to the
Search
widget (and perhaps, with it, a selector of some sort).It seems from what I've read that Search conflates title with the result identifiers. So if I have:
The behavior I'd like is that when searching on title, when an item is (or multiples are) selected I get associated IDs. I tried passing
id
with the results array as per above but the component complains thatresults
is invalid. What am I missing here?The text was updated successfully, but these errors were encountered: