Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13050] iOS: TextField keyboardToolbar OK button has no effect

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-10-19T13:56:30.000+0000
Affected Version/sRelease 3.0.2, Release 3.1.0, Release 3.2.0
Fix Version/sn/a
ComponentsiOS
Labelsios
ReporterThomas Neerup
AssigneeHans Knöchel
Created2013-03-11T07:39:36.000+0000
Updated2017-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

FileDateSize
index.js2013-03-11T07:39:37.000+0000379
index.xml2013-03-11T07:41:50.000+0000202
popup.js2013-03-11T07:41:50.000+0000132
popup.xml2013-03-11T07:41:50.000+0000353

Comments

  1. Daniel Sefton 2013-05-30

    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.
  2. Hans Knöchel 2016-10-19

    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!
  3. Lee Morris 2017-03-31

    Closing ticket as "Cannot Reproduce", if you encounter any further problems please file a new ticket.

JSON Source