Prevent default disabled buttons and links.
What does this MR do?
Prevents default action for disabled buttons and links. If the element has .btn
and .disabled
at the same time, its default action will be prevented.
Are there points in the code the reviewer needs to double check?
Yes. Is there a better way to do that?
Why was this MR needed?
Right now we can click disabled links and it cause some troubles like in #18079 (closed).
What are the relevant issue numbers?
Fixes #18079 (closed)
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added -
Tests -
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together