Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15376] optionDialog titleid doesn't work

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.3
Fix Version/sn/a
Componentsn/a
LabelsoptionaDialog, titleid
ReporterMostafizur Rahman
AssigneeUnknown
Created2013-09-30T02:04:07.000+0000
Updated2018-02-28T20:03:37.000+0000

Description

optionDialog titleid doesn't work.
Ti.UI.setBackgroundColor('white');
var win = Ti.UI.createWindow({
  title: 'Click window to test',
  backgroundColor: 'white',
  exitOnClose: true,
  fullscreen: false
});

var opts = {
  cancel: 2,
  options: ['Confirm', 'Help', 'Cancel'],
  selectedIndex: 2,
  destructive: 0,
  titleid: "deleteFile"
  //title: 'Delete File?'
};

win.addEventListener('click', function(e){
  var dialog = Ti.UI.createOptionDialog(opts).show();
});
win.open();

Comments

No comments

JSON Source