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

Always use id when consructing Component objects #20

Merged
merged 1 commit into from Oct 19, 2021

Conversation

kbni
Copy link
Contributor

@kbni kbni commented Apr 5, 2021

Hi @edelvalle! Great module. I'm just experimenting, but I found if a component is nested inside another component, I found that id was not being set properly as it was not included in Component._build if _parent_id is set.

Disclaimer: I've only very briefly looked at the internals and unfortunately my Python segfaults when I try to run tests.py, so apologies if this is not a useful PR.

@edelvalle
Copy link
Owner

If you could provide me with an example of code, so I can test this...

@edelvalle edelvalle merged commit d41f2ab into edelvalle:master Oct 19, 2021
@edelvalle
Copy link
Owner

Thanks for the PR

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.

None yet

2 participants