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

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.

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.