Closed
Description
Describe the bug
If you have a scoped slot with conditional content, for example only showing something if an array has elements.
If the slot is completely empty it will render out the default value, which in this case would be []
which might not be wanted.
Steps to reproduce the bug
- Create a table with a scoped slot.
- Leave the slot empty or add a v-if
- If the v-if is not met and the slot is empty it will display the default content.
Expected behavior
If the v-if is not be and the scoped slot is empty, it should not render anything.
Versions
Libraries:
- BootstrapVue: 2.0.0-rc.28
- Bootstrap: 4.3.1
- Vue: 2.x.x