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

Request parameters not available in templates #218

Open
raphael-m opened this issue Mar 19, 2024 · 0 comments
Open

Request parameters not available in templates #218

raphael-m opened this issue Mar 19, 2024 · 0 comments

Comments

@raphael-m
Copy link

I have a template containing the following element (some attributes and child nodes left out to keep it simple):

<pb-table-grid source="api/locality/${key}" ... data-template="pages:parse-params">                        
    ...
</pb-table-grid>

If I understand it correctly, ${key} should be replaced with the key request parameter defined in our custom-api.json. But it seems key in the model passed to pages:parse-params is always empty.

I could narrow down the issue to be caused by this change: e76aa6d. If I uncomment the corresponding line, ${key} is populated correctly.

What was the reason for that change - is it save to uncomment the line again, or is there another solution?

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

No branches or pull requests

1 participant