-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reusing a component #16
Comments
@aruntk We're kind stuck on this part :( Idea how to solve this issue? |
@bramvanderholst @paales Issue is causing because of javascript object reference. I'm working on this. |
@bramvanderholst @paales. I think I have fixed the issue. version 1.1.21 released with the fix. Please check. I'm keeping the issue opened. Please comment if you find any other bugs related to the latest change. |
closing the issue. feel free to reopen if required. |
Hi @aruntk! It doesn't seem to work as expected. It does something different, but not what it is supposed to do.. I've created the following elements: <rd-page-link page-id="Jaskdf021msksksv99ksdf"></rd-page-link> <!-- works -->
<rd-page-link page-id="cj0tns8lx1fus0104xxc1nbb4"></rd-page-link> <!-- works -->
<rd-page-link page-id="cj0tns8lx1fus0104xxc1nbb4"></rd-page-link> <!-- doesn't work -->
<rd-page-link page-id="cj0tns8lx1fus0104xxc1nbb4"></rd-page-link> <!-- doesn't work --> So, if the query variables are exactly the same it doesn't work as expected.. |
@aruntk I can't open the issue by the way ;) |
@aruntk The above doesn't seem to apply. Random links don't seem to be working. I think it is some sort of race condition. If links are spaced out on the page (and thus probably in which tick they get called) it works, but if links are next to each other, it doesn't seem to work. |
Hi there,
I'm having trouble getting it to work properly, I have the following configuration for my element, seems pretty simple:
This binds the resulting object to the pageObject property of the element. This is great, but this seems me to require to name the query
pageObject: Page(id: $identifier) { ... }
. The result is that if I use this element multiple times, this will cause an issue that the the second element will use the same query name, thus breaking the first element..Hope you can help:
PageLink
in this example serves no purpose at all, just needs to be unique (globally?). Ideally this would mean it would be bound to that property?The text was updated successfully, but these errors were encountered: