Readonly id
field is undefined by default (despite filled other data)
#1513
Unanswered
szulcus
asked this question in
Questions and Help
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.
-
Reproduction
I can't reproduce it from playground
Steps to reproduce the bug
goodAnswers
is array of reference:Expected behavior
Field
id
available with other data or correct type (string | undefined)Actual behavior
Like below, in title
Additional information
"nuxt": "^3.5.3"
"vuefire": "^3.1.23"
Workaround
Check manually if all ids are defined, e.g.:
!progress || progress.goodAnswers.some((ans) => !ans.id)"
instead of!progress
Beta Was this translation helpful? Give feedback.
All reactions