@mark-piller Is there a more efficient way to enable/disable buttons? It seems like an extra step to create a property in page data for every button, and then toggle the button disabled state through the page data property instead of interacting with the button directly.
I was trying this as it seems more direct -
But I’m getting the error -
Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'disabled')
I don’t understand how the button is undefined when it is what the on click event is being triggered from.