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
I have searched and made sure there are no existing issues for the issue I am filing
I have searched the existing issues
Description
On SDK 12.5.1.GA and iOS 18 / iPadOS 18, if you set the badge value of a Tab, it works only the fist time.
Expected Behavior
The tab must always show the correct badge (for example: tab.badge = '7' --> the badge must show '7', also if it's not the first time i've set it)
Actual behavior
The tab badge is updated only the first time
Reproducible sample
// create a tabGroup and a tab called "myTab"varwindow=Ti.UI.createWindow({title: 'My Tab'});varmyTab=Ti.UI.createTab({window: window,title: 'My Tab',icon: 'myicon.png'});// add myTab to the tabGrouptabGroup.addTab(myTab);// change tab's badge valuemyTab.badge='5';myTab.badge='7';// tab badge remains '5'// ATTENTION: I've found this workaround: if you modify (for example) the title of the tab, it works (the tab is refreshed?):myTab.badge='5';myTab.badge='7';vartmp=myTab.title;myTab.title=tmp+' ';myTab.title=tmp;// now the tab is refreshed and the badge shows '7'
Steps to reproduce
Create an app with a Tab Group.
In a tab, set the badge value more than one time.
See the reproducible sample.
Platform
iOS
SDK version you are using
12.5.1.GA
Alloy version you are using
No response
The text was updated successfully, but these errors were encountered:
I have searched and made sure there are no existing issues for the issue I am filing
Description
On SDK 12.5.1.GA and iOS 18 / iPadOS 18, if you set the badge value of a Tab, it works only the fist time.
Expected Behavior
The tab must always show the correct badge (for example: tab.badge = '7' --> the badge must show '7', also if it's not the first time i've set it)
Actual behavior
The tab badge is updated only the first time
Reproducible sample
Steps to reproduce
Create an app with a Tab Group.
In a tab, set the badge value more than one time.
See the reproducible sample.
Platform
iOS
SDK version you are using
12.5.1.GA
Alloy version you are using
No response
The text was updated successfully, but these errors were encountered: