[TIMOB-13050] iOS: TextField keyboardToolbar OK button has no effect
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-10-19T13:56:30.000+0000 |
Affected Version/s | Release 3.0.2, Release 3.1.0, Release 3.2.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | ios |
Reporter | Thomas Neerup |
Assignee | Hans Knöchel |
Created | 2013-03-11T07:39:36.000+0000 |
Updated | 2017-03-31T22:43:24.000+0000 |
Description
Steps to Reproduce
When using a keyboard toolbar on a TextField, event from the toolbar buttons are not fired when the field is on a modal window on iPad.
Copy attached files to a new Alloy project.
Run the project on iPad
Click the label Open popup -> modal window will show
Click the gray textfield -> keyboard will show with at toolbar with on OK button
Click the OK button on the toolbar -> the windows should close but does not
Click the OK button on the window -> the windows closes
Click the Label Open full window
Click the gray textfield -> keyboard will show with at toolbar with on OK button
Click the OK button on the toolbar -> the windows closes
Actual Result
No event is fired when toobar buttons are clicked
Expected Result
event should be fired when a toolbar button is clicked
Attachments
File | Date | Size |
index.js | 2013-03-11T07:39:37.000+0000 | 379 |
index.xml | 2013-03-11T07:41:50.000+0000 | 202 |
popup.js | 2013-03-11T07:41:50.000+0000 | 132 |
popup.xml | 2013-03-11T07:41:50.000+0000 | 353 |
Tested and confirmed on iOS 6 iPad simulator with Ti SDK 3.1 GA and 3.2 CI. In fact, there's a regression between 3.1 and 3.2 - even the OK button inside the popup dialog doesn't work on 3.2, it works on 3.1.
This issue cannot be reproduced anymore. Nowadays, the keyboard toolbar can be set inside the Alloy XML of the
Ti.UI.TextField
and all buttons respond fine. Pleaser refer to [this docs](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TextField-property-keyboardToolbar) for more infos on the implementation. Thanks!Closing ticket as "Cannot Reproduce", if you encounter any further problems please file a new ticket.