Skip to content

Cant validate #each problem #1820

@duard

Description

@duard

I'm not capable of validate all variables inside my template when using #each.
here is the jsfidle : https://jsfiddle.net/why2t30d/

here is the error :

VM296:4 Uncaught TypeError: Cannot read properties of undefined (reading 'deliveryAddress')
    at eval (eval at createFunctionContext (handlebars.js:3562:24), <anonymous>:4:79)
    at prog (handlebars.js:1206:13)
    at execIteration (handlebars.js:677:20)
    at Object.<anonymous> (handlebars.js:687:14)
    at Object.eval [as main] (eval at createFunctionContext (handlebars.js:3562:24), <anonymous>:6:31)
    at main (handlebars.js:1160:33)
    at ret (handlebars.js:1163:13)
    at ret (handlebars.js:3258:22)
    at ?editor_console=true:142:47

Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions