Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19124] Windows: Ti.UI.TextField.value = undefined will display value as text

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2015-07-08T15:03:35.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsWindows
Labelsn/a
ReporterFokke Zandbergen
AssigneeKota Iguchi
Created2015-07-01T09:09:58.000+0000
Updated2015-07-10T20:58:31.000+0000

Description

The following example will show undefined in the TextField while I'd expect it to be empty.
var win = Ti.UI.createWindow();
 
win.add(Ti.UI.createTextField({
	top: 100,
	height: 50,
        width: Ti.UI.FILL,
        value: undefined
}));
 
win.open();

Comments

  1. Kota Iguchi 2015-07-08

    https://github.com/appcelerator/titanium_mobile_windows/pull/365
  2. Lokesh Choudhary 2015-07-10

    Verified the fix. No value is displayed. Closing. Environment: Appc Studio: 4.1.0.201507071122 Ti SDK: 4.2.0.v20150710092422 Ti CLI: 4.0.1 Alloy: 1.6.2 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.1.0 APPC CLI: 4.1.0 Device: Nokia Lumia 928 - Windows Phone 8.1 Windows emulator : 8.1

JSON Source