Project: titanium
Issue TIMOB-23195: iOS: Add validation to PickerRow.title
Setting the PickerRow title to a number causes a crash , as there is no field validation. Classic App code to re-produce : {code:javascript} Ti.UI.backgroundColor = 'white'; var win = Ti.UI.createWindow({ exitOnClose: true, layout: 'vertical', backgroundColor:"white" }); var data = []; for(var i=0; i < 10 ; i++){ data.push(Ti.UI.createPickerRow({title:i})); } var picker = Ti.UI.createPicker({ top:50, selectionIndicator: true }); picker.add(data); win.add(picker); win.open(); {code}
Story points: 3