Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25235] Windows: Feature request - Ti.UI.TextField blur method

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-11-06T20:20:03.000+0000
Affected Version/sRelease 6.2.0
Fix Version/sRelease 7.0.0
ComponentsWindows
Labelsn/a
ReporterNeeraj Mishra
AssigneeKota Iguchi
Created2017-09-06T19:15:40.000+0000
Updated2018-09-11T14:09:32.000+0000

Description

Description:

Currently, blur method of Ti.UI.TextField is available only for Android and iOS. But it does not work for Windows. Here is the AppC documentation link for this method - http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TextField-method-blur

Sample Application:

Attached the sample app to test.

Expected Results:

Clicking anywhere else other than TextField on the screen will make TextField lose focus in Windows. But, we would like the blur event to happen on clicking return key in keyboard. To achieve this functionality, blur method is required for TextField.

Runtime Issue:

In index.js of this project. the blur call on TextField has no effect. $.testField.blur();

Attachments

FileDateSize
index.js2017-09-06T19:15:19.000+0000218
index.tss2017-09-06T19:15:36.000+0000155
index.xml2017-09-06T19:15:30.000+0000160

Comments

  1. Kota Iguchi 2017-10-04

    https://github.com/appcelerator/titanium_mobile_windows/pull/1131
  2. Abir Mukherjee 2017-11-16

    Changes are seen in 7.0.0.v20171115153702.

JSON Source