Feature Request: Custom default when query is disabled #1674
willbowdler-cc
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When you return undefined from a live query, you get into a
disabledstate. All well and good. But you can't customize the default value that is returned fromquery.datawhen the query is disabled. It would be nice to be able to utilizeselector something for this use case. Here is what I am having to do when I want[]as adisableddefault, so that I don't have to do?? []everywhere this collection is usedBeta Was this translation helpful? Give feedback.
All reactions