hyperfiddle-2020 icon indicating copy to clipboard operation
hyperfiddle-2020 copied to clipboard

select options sorting crashes for ref options

Open dustingetz opened this issue 5 years ago • 2 comments

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}

dustingetz avatar Aug 16 '20 23:08 dustingetz

I see. Doesn't necessarily have to be sorted, but it stabilizes the list.

For the time being could be sort-by str

Invocatis avatar Aug 16 '20 23:08 Invocatis

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)

dustingetz avatar Aug 16 '20 23:08 dustingetz