Skip to content
New issue

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

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

Already on GitHub? # to your account

Accordion Item cannot render dynamic ID #935

Closed
slyin87 opened this issue Feb 13, 2023 · 2 comments
Closed

Accordion Item cannot render dynamic ID #935

slyin87 opened this issue Feb 13, 2023 · 2 comments

Comments

@slyin87
Copy link

slyin87 commented Feb 13, 2023

  • dash version: #2.8.1
  • dash-bootstrap-components version: #1.3.1
  • components affected by bug: Accordion Item

What is happening?

Accordion Item id not displaying when using MATCH PATTERN.

image

The id in html is [object Object]

What should be happening?

The id should be something like id={"index":"some_index","type":"some_type"}

Code

image

dbc.AccordionItem(
            id = {
                'type': "the_type",
                'index': 'the_index'
            },
            title   = title,
            item_id = item_id,
        )

Error messages

paste any error messages here
@tcbegley
Copy link
Collaborator

Hey @slyin87

I just made a pre-release that should fix this issue. Please try it out and let me know if you have further issues.

pip install dash-bootstrap-components==1.3.2rc1

@slyin87
Copy link
Author

slyin87 commented Feb 20, 2023

Working per expected. Thank you

@slyin87 slyin87 closed this as completed Feb 20, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants