Skip to main content
Nintex Community Menu Bar
Question

When save or cancel buttons are conditionally rendered and then not rendered (due to a user action)

  • July 9, 2024
  • 1 reply
  • 5 views

Forum|alt.badge.img+4

When save or cancel buttons are conditionally rendered and then not rendered (due to a user action), if the user then updates a row of the model that the button is saving or cancelling, it causes this Javascript error ‘Uncaught Error: cannot call methods on button prior to initialization; attempted to call method ‘enable’’. This error occurs even if the button is rendered again.

I presume it is because it is trying to enable the save or cancel button (since the row is being updated) but the button is no longer rendered.

1 reply

Forum|alt.badge.img+6
  • Nintex Employee
  • July 9, 2024

Menachem,

This looks like a bug in Skuid. I’ve logged it, and we’ll try to get it addressed in a soon and coming release. Thanks for being a part of our community and helping us make our product better.