Fork me on GitHub
#om
<
2017-09-21
>
levitanong08:09:32

@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.

cycle33713:09:56

I wanna use React-Select with om but I have no idea what to pass as a callback function

cycle33713:09:04

can anyone help me ?

cycle33713:09:23

right so I've included

cycle33713:09:08

and simple react form with options hardcoded into state work perfectly

cycle33713:09:35

problem is when I want to Select.Async to get options from an api call

matthavener13:09:24

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

matthavener13:09:21

if you do that, then you’re just passing the options in with the ‘options’ parameter

cycle33714:09:04

yeah, i reasoned as much myself after trying for 2 h with no luck