handlebars-lang / handlebars.js

Minimal templating on steroids.
http://handlebarsjs.com
MIT License
17.82k stars 2.04k forks source link

passing handelbar list #1888

Closed sergedahdouh closed 1 year ago

sergedahdouh commented 1 year ago

hello i have the following template

<!DOCTYPE html>

Invoice - Bootdey.com
iamgurdeeposahan
{{shopName}}

{{shopPhone}}

{{shopEmail}}

USA

Customer Name

Mobile : +1 12345-4569

Email : customer@gmail.com

Address : New York, USA

INVOICE # 102

{{#items}} {{/items}}
Description Amount
{{User_Name}} {{itemPrice}}

Total Amount:

Late Fees:

Payable Amount:

Balance Due:

65,500/-

500/-

1300/-

9500/-

Total:

31.566/-

and i am trying to pass through

https://us-central1-txxxxx.cloudfunctions.net/ext-pdf-generator-zb4r-executePdfGenerator?templatePath=trackingapp-66e74.appspot.com/index.zip&outputFileName=basic-example.pdf&chromiumPdfOptions[printBackground]=true&adjustHeightToFit=true&data[items][User_Name]= [ "User_Name": "T" ,

"User_Name": "R"

,

"User_Name": "M"

]

the items as list but is never get it as list is always get it in one raw [

Screenshot 2022-09-27 at 03 14 46

](url)