You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to override the string used as the label for the sp-icon element in the Shadow DOM, both for i18n purposes and for clarity, because sometimes an "Warning" is not an "Error."
The alt text for the icon displayed in the "negative", "positive", and "info" Toast variants is hardcoded and cannot be overridden as "Error", "Success", and "Information" respectively.
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
Go to '...'
Click on '....'
Scroll to '....'
Check console
See error
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered:
Code of conduct
Impacted component(s)
Toast
Expected behavior
It should be possible to override the string used as the
label
for thesp-icon
element in the Shadow DOM, both for i18n purposes and for clarity, because sometimes an "Warning" is not an "Error."This relates to #1975
Actual behavior
The alt text for the icon displayed in the "negative", "positive", and "info" Toast variants is hardcoded and cannot be overridden as "Error", "Success", and "Information" respectively.
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: