hyperfiddle-2020
hyperfiddle-2020 copied to clipboard
select options sorting crashes for ref options
This commit is the crash https://github.com/hyperfiddle/hyperfiddle/commit/3a222c7f61ba382c9febc70c83f1182393535af9
Error is:
Cannot compare {:region/id :ca.district/napa-south} to {:region/id :ca.district/twin-no-livescan}
I see. Doesn't necessarily have to be sorted, but it stabilizes the list.
For the time being could be sort-by str
I think we need this in table-picker, I don't immediately see where it goes so leaving for you. Reverting commit for now to uncrash it
::hf/ident-key (if is-ref ; make sure your specs are resolving as datomic refs
(partial hf/id ctx)
identity)