I assumed that Doc.ValidateButton works as Doc.Button from UI.Next, but I was wrong. It constantly updates the page after click event. I resolved the problem adding the following attribute attr.``type`` "button". Was this behaviour made intentionally?
UPDATE
Ok, I understand that <button> defaults to submit type when placed in form. Nonetheless, maybe to explicitly add type='button'?
I assumed that
Doc.ValidateButtonworks asDoc.Buttonfrom UI.Next, but I was wrong. It constantly updates the page after click event. I resolved the problem adding the following attributeattr.``type`` "button". Was this behaviour made intentionally?UPDATE
Ok, I understand that
<button>defaults tosubmittype when placed inform. Nonetheless, maybe to explicitly addtype='button'?