Disable buttons and fields, while loading

What is the best/prefered way of disableing the form fields and buttons, while a submit request is done? I am talking about v2 and (standalone) form, not admin-panel
Was this page helpful?