This is mainly a problem for our test automation where our automation finds and clicks on the tds-button even though the button inside is still in a disabled state. This also means it's possible to trigger the click event of the tds-button programmatically when it's in a disabled state.
expected
It should not be able to trigger the click event for the Tds-button when it is in a disabled state
Requirements before reporting
Package versions
"@scania/tegel-angular": "1.18.0",
Browser
Chrome
Framework
Angular
Version
Angular 18
Reproduction steps
Code example
html
script
Screenshots
Add/Copy screenshot here
Expected behaviour
This is mainly a problem for our test automation where our automation finds and clicks on the tds-button even though the button inside is still in a disabled state. This also means it's possible to trigger the click event of the tds-button programmatically when it's in a disabled state.
expected
It should not be able to trigger the click event for the Tds-button when it is in a disabled state
Console errors
Add warning/error message
Contact information
magnus.harlin@scania.com