We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Extending pb-search with pb-repeat/pb-select leads to incorrect query parameter set when serializing the default first instance of the pb-repeat
pb-search
pb-repeat/pb-select
pb-repeat
Setting <pb-repeat initial=0> works well, thus the problem lies probably in initializing pb-repeat/template
<pb-repeat initial=0>
pb-repeat/template
<pb-search id="search-form" subscribe="search" data-template="pages:parse-params" value="${query}" submit-on-load="submit-on-load"> <pb-repeat> <template> <pb-select name="bar" label="bar" source="modules/autocomplete.xql?query=k"/> </template> </pb-repeat> </pb-search>
The text was updated successfully, but these errors were encountered:
I found the solution for this issue:
const name = (input.name === undefined) ? ${input.attributes.getNamedItem("name").nodeValue}[${idx}] : ${input.name}[${idx}];
${input.attributes.getNamedItem("name").nodeValue}[${idx}]
${input.name}[${idx}]
Name of the element can be reached as the attribute value if the name property is undefined.
I'll prepare pull request.
Sorry, something went wrong.
No branches or pull requests
Extending
pb-search
withpb-repeat/pb-select
leads to incorrect query parameter set when serializing the default first instance of thepb-repeat
Setting
<pb-repeat initial=0>
works well, thus the problem lies probably in initializingpb-repeat/template
The text was updated successfully, but these errors were encountered: