[TIMOB-19065] Windows: AlertDialog.show() fails when buttonNames.length >= 3
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-06-25T12:52:54.000+0000 |
Affected Version/s | Release 4.1.0 |
Fix Version/s | Release 4.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2015-06-23T12:27:20.000+0000 |
Updated | 2015-07-01T15:58:33.000+0000 |
Description
Ti.UI.AlertDialog.show
fails when buttonNames
have over three buttons on Windows Phone. It looks like it's a limitation of Windows::UI::Popups::MessageDialog
on Windows Phone, so we might want to throw exception when over 3 names are assigned.
Ti.UI.createAlertDialog({
title: 'Title',
message: 'Message',
buttonNames: ['A','B','C']
}).show();
Bumping out to 4.1.1 as it's lower priority.
https://github.com/appcelerator/titanium_mobile_windows/pull/324
Verified the fix. Closing. Environment: Appc Studio: 4.1.0.201506261427 Ti SDK: 4.1.0.v20150629125430 Ti CLI: 4.0.1 Alloy: 1.6.2 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.1.0-1 APPC CLI: 4.1.0-4 Device: Nokia Lumia 928 - Windows Phone 8.1 Windows emulator : 8.1