Conditional rendering in header-cell causes empty cells #14916
-
What happened?I wanted to use the What did you expect to happen?Different Reproduction URLhttps://codepen.io/3m7ecc/pen/MWXvxVR How to reproduce?
FlavourQuasar CLI with Vite (@quasar/cli | @quasar/app-vite) AreasComponents (quasar) Platforms/BrowsersFirefox, Chrome Quasar info outputNo response Relevant log outputNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
Yes, of course it will work when you put the condition inside the And either way, shouldn't it still be possible to use these conditions inside |
Beta Was this translation helpful? Give feedback.
-
do it like you're doing, but use a key ie. |
Beta Was this translation helpful? Give feedback.
do it like you're doing, but use a key ie.
<q-td :key="props.col.name"..., you have a questionable condition too, where some columns you didn't definesortableor defined it as string so you'll have to account for that also.https://codepen.io/metalsadman/pen/poKWEpv