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
Hello @boghyon ,
Thank you for sharing this finding. I've created an internal incident 2180176684. The status of the issue will be updated here in GitHub.
Regards,
Tsanislav
OpenUI5 version
Since the introduction of
iconInitials
(1.88): 454a41c#diff-8b72ed9ca72d9bf06081308bacffad14f5719bade70ed486635cd5ec2bfabdfaURL (minimal example if possible)
https://jsbin.com/megaguq/edit?html,js,output
What is the expected result?
Same as
initials
onsap.m.Avatar
: if there is no validicon
(src
) set, use theiconInitials
.What happens instead?
Initials are never applied because:
sap.m.FeedListItem
always sets theperson-placeholder
icon as fallback:openui5/src/sap.m/src/sap/m/FeedListItem.js
Lines 443 to 449 in faaaf27
sap.m.Avatar
, however, applies theinitials
only if there is nosrc
set.openui5/src/sap.m/src/sap/m/Avatar.js
Lines 461 to 476 in faaaf27
Any other information? (attach screenshot if possible)
Avatar already uses the icon
sap-icon://person-placeholder
if itsdisplayShape
isCircle
(== default shape of FeedListItem'siconDisplayShape
). Hence, setting the person placeholder explicitly might be superfluous, unlessSquare
icons are also supposed to display the person placeholder.The text was updated successfully, but these errors were encountered: