Skip to content

Fixed attributeLabel is not a function#1288

Merged
royduin merged 3 commits into
2.xfrom
bugfix/attributelabel
May 19, 2026
Merged

Fixed attributeLabel is not a function#1288
royduin merged 3 commits into
2.xfrom
bugfix/attributelabel

Conversation

@indykoning
Copy link
Copy Markdown
Member

After enabling cart attributes on a project i was greeted by "TypeError: window.attributeLabel is not a function"
This is correct, a computed value is not a function. If we want a computed value to be returned, we should wrap the value in computed, instead of the function itself.

@royduin royduin merged commit 2ae67f7 into 2.x May 19, 2026
9 checks passed
@royduin royduin deleted the bugfix/attributelabel branch May 19, 2026 08:43
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