cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ToolbarItem color not changing even after applying style in SAP MDK 24.11.2-002

Girish_KR
Participant
0 Likes
1,361
In the previous version the below style was working as expected. With new version the toolbarItem color is not changing.
 
in Styles 
#BulkApproveToolbarItem {
color: #188918;
}

"ToolBar"
: {
"Items": [
{
"_Type": "Control.Type.ToolbarItem",
"_Name": "BulkApproveToolbarItem",
"Caption": "BulkApprove",
"Enabled": true,
"Clickable": true,
"Visible": true
}
]
}

Please guide to resolve this issue.


Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes

I have replicated the issue on both iOS and Android under MDK 24.11.2 and have opened an internal issue to investigate further.  One option might be to switch to the new Fiori Toolbar as that styling is working but you will need to review the changes to see if they align with your requirements.

iramosastola
Discoverer
0 Likes
Same is happening to me using the Fiori Toolbar. The styles are applied for Android correctly but failing for iOS. In order to have them working on Android we have set the Fiori toolbar and the ToolbarItem is of Button and Primary. We have added a css class with color and background color on both Button and Image Style entries for the ToolbarItem.
iramosastola
Discoverer
0 Likes
Same styles work for a Button on a Button table both on Android and iOS if that is an option in your case. Not in ours. It would be nice to see what's going on with this on iOs. If a SAP Note is open and there is a solution I would really appreciate if you share
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes

@iramosastola Styles for iOS Fiori Toolbar button are working for me in MDK 24.11.2.  See example screenshot below.  The Style Test text in the Fiori Toolbar is styled green.

FTBstyle.png

Girish_KR
Participant
0 Likes
Bill, is there a plan to fix this issue in upcoming release or should I implement Fiori Toolbar
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes
Yes, this will be fixed in an upcoming patch
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes
This should be fixed now in MDK 25.6.0 which is available for download from the SAP Software Center
Girish_KR
Participant
0 Likes

Thanks for the update @bill_froelich , it's working with new SDK.

Answers (0)