🐛 BUG: Components with array-like prop fail to render in Markdown #2399
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: markdown
Related to Markdown (scope)
What version of
astro
are you using?0.22.11
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
I have a component that takes an array as a prop. I then use this component in a markdown file with
setup
. When that markdown is rendered, I get something along the lines of<ComponentName propName=[[Object object][Object object]] />
rendered a string. Interestingly, passing empty array to them component seems to work (nothing gets rendered).I tried to create a Vue component as well and got the same result.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-fdsvay?file=src%2Fpages%2Findex.md
The text was updated successfully, but these errors were encountered: