Skip to content

Fixed productlist causing errors when value is false - #1361

Open
indykoning wants to merge 2 commits into
masterfrom
bugfix/productlist-error-on-false
Open

Fixed productlist causing errors when value is false#1361
indykoning wants to merge 2 commits into
masterfrom
bugfix/productlist-error-on-false

Conversation

@indykoning

Copy link
Copy Markdown
Member

#1312 changed the checks. Adding an additional template check.

However due to the check only being for !is_iterable it activates on "false" as well.
This will render <template v-if=".length" causing a syntax error in Vue

We should instead check if it is a string

@indykoning
indykoning marked this pull request as ready for review August 18, 2026 07:39
@indykoning
indykoning requested a review from royduin as a code owner August 18, 2026 07:39

@royduin royduin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me, let's wait for @Jade-GG his review.

@royduin
royduin requested a review from Jade-GG August 19, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants