NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on December 29, 2021, 02:29:20 AM

Title: Error when Browse (with Text EIP) on Form, when save
Post by: Niels Larsen on December 29, 2021, 02:29:20 AM
Hi Bruce

I have an APP with a Browse on a form. In the Browse I have an EIP Text field. When I press Save I get an error:

all.js?c=12.30-1:1454 Uncaught TypeError: Cannot read properties of undefined (reading 'updateElement')
    at HTMLTextAreaElement.<anonymous> (all.js?c=12.30-1:1454)
    at Function.each (all.js?c=12.30-1:4)
    at k.fn.init.each (all.js?c=12.30-1:4)
    at t.<computed>.<computed>.saveButton (all.js?c=12.30-1:1452)
    at t.<computed>.<computed>.saveButton (all.js?c=12.30-1:10)
    at HTMLButtonElement.<anonymous> (all.js?c=12.30-1:942)
    at HTMLButtonElement.dispatch (all.js?c=12.30-1:4)
    at HTMLButtonElement.v.handle (all.js?c=12.30-1:4)


Test app attached.
Any idea what I'm doing wrong?

Regards Niels
Title: Re: Error when Browse (with Text EIP) on Form, when save
Post by: Bruce on December 29, 2021, 10:29:03 PM
Thanks for the example Niels.
It's a bug in the template - a combination of having a default editor set globally, and a EIP Text field in the browse.
I'll work on fixing it for the next build.

From your other note I see you're _wanting_ an Editor in this field, so I'll see if that's possible.

cheers
Bruce
Title: Re: Error when Browse (with Text EIP) on Form, when save
Post by: Niels Larsen on December 29, 2021, 11:34:14 PM
Thanks for the feedback.