Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Context in item-template of Collapsible widget #885

Open
anserwaseem opened this issue Oct 24, 2024 · 0 comments · May be fixed by #886
Open

No Context in item-template of Collapsible widget #885

anserwaseem opened this issue Oct 24, 2024 · 0 comments · May be fixed by #886
Assignees
Labels
bug Something isn't working p1 High priority

Comments

@anserwaseem
Copy link
Contributor

Describe the bug
Use item-template in Collapsible widget. Example YAML

Collapsible:
  item-template:
    data: [1, 2, 3]
    name: p
    template:
      CollapsibleItem:
        key: ${p}
        label: ${'hello' + getDateLabel(p)}
        children:
          Text:
            text: ${'world' + p + ensemble.storage.get("iconName")}

Errors
image
image
fyi: getDateLabel is available in common.js script in kitchen-sink app

@anserwaseem anserwaseem added bug Something isn't working p1 High priority labels Oct 24, 2024
@sagardspeed2 sagardspeed2 linked a pull request Oct 25, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p1 High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants