Custom autocomplete pass choices to cellrenderer

Tags: #<Tag:0x00007efc64f26540> #<Tag:0x00007efc64f26400>

Hello.

im using my custom autocomplete. fetching by source

query

it takes array of objects

I need to this choices in cell renderer for showing my description or anything. Is is possible to pass ?

I tried 1 solution

solution

but this options prop lost re-rendering. Maybe u will say stop re-render. But its not possible .Because i have loading state for send my data to DB and get response.

Can you help me ?

Hi @munkhtulgaworks

The source has to be an array of primitives (string or number), you can test it here https://jsfiddle.net/ghbqkyc2/, so if you get an object I recommend mapping it.