Starting from version 2022.1.119 when the type of the button is set to 'submit' it still remains to 'button' which prevents submission of forms on click.
Type property should correctly set the button's type to 'submit'