Skip to content

Add test case for overriding button type

Mark Florian requested to merge button-component-add-test-case-type-submit into master

What does this MR do and why?

Add test case for overriding button type

This is a follow-up to !89159 (merged).

Pajamas::ButtonComponent currently allows the type attribute to be overridden via button_options, but it was not covered by a test. This adds that test.

See for example #363946 (closed) where this is relevant, as there's a type="submit" button there.

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mark Florian

Merge request reports

Loading