apply patch #18: set the button render element 'type' attribute value by default to 'submit' but allow setting to another value
Closes #289240