@wilkerlucio Also, just using :db/id
is untenable for union queries. AFAIK union queries need the “dispatching” information in the first position of the ident.
good point
hello guys
I wanna use React-Select with om but I have no idea what to pass as a callback function
can anyone help me ?
imho, you shouldn’t really be using Select.Async with react-select in om.next.. you should use om.next’s state management to fetch your remote state
if you do that, then you’re just passing the options in with the ‘options’ parameter
yeah, i reasoned as much myself after trying for 2 h with no luck
thanks
right so I've included
and simple react form with options hardcoded into state work perfectly
problem is when I want to Select.Async to get options from an api call