The changed hint text on a textfield does not show when the device is in landscape orientation. This happens when soft keyboard is shown and on android devices that show only the text field for edit in landscape mode.
This is not a regression as the issue also occurs in 3.3.0.GA
Steps to Reproduce:
1. Create a project and replace its app.js with the code below
2. Run the app on a device
3. When the app launches the textfield shows a hint text as "123".
4. Click on "click me!" button. The hint text of the textfield changes to "456"
5. Click on the textfield to invoke the soft keyboard
6. Now rotate the device to landscape mode
Actual Result:
The textfield shows the hint text as "123" instead of "456"
Expected Result:
The changed hint text should show even after orientation change
var window = Ti.UI.createWindow({
backgroundColor: 'white'
});
var text = Ti.UI.createTextField({
hintText : 123
});
var crash = Ti.UI.createButton({
top : 30,
title : 'click me!'
});
crash.addEventListener('click', function(e) {
text.hintText = 456;
});
window.add(crash);
window.add(text);
window.open();
Issue reproduces Titanium SDK version 3.4.0 master Titanium Studio, build: 3.3.0.201407100905 Titanium Command-Line Interface CLI version 3.3.0, Android device : Motorola Moto G, Android version : 4.4.4
I am able to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131