NetTalk Central

Author Topic: Error when Browse (with Text EIP) on Form, when save  (Read 1501 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 419
    • View Profile
    • Email
Error when Browse (with Text EIP) on Form, when save
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11167
    • View Profile
Re: Error when Browse (with Text EIP) on Form, when save
« Reply #1 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

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 419
    • View Profile
    • Email
Re: Error when Browse (with Text EIP) on Form, when save
« Reply #2 on: December 29, 2021, 11:34:14 PM »
Thanks for the feedback.