In The Component Function Two parameter Will not Work.
-
Hi I am using js Report 4.6.0 version. In that I am using the Component function Inside the loop.In that Function I am passing two arguments one for the data which is in with loop of internal and another argument I am using dynamic Data.But that is not working.Can u please Check this
{{#each data}} {{#componentExists (filePath "../Components" lib cid ver)}} <div> <span class="component-span"> {{#with this.data.d}} {{component (filePath "../Components" ../lib ../cid ../ver) . dynamicData="ABC'}} {{/with}} {{/componentExists}} {{/each}}
-
Please try to replicate the problem with a minimal example in the playground
https://playground.jsreport.net/
-
I have shared the playground for ur reference
https://playground.jsreport.net/w/anon/naT6gCXb
-
Please finalize the demo. You are missing those components/helpers there...
-
https://playground.jsreport.net/w/anon/naT6gCXb
Please check now!!
-
What is the idea of that dot
.
? That is likely the problem.{{component (filePath ../lib ../cid ../ver) . dynamicData="ABCDDDDDDDD"}}