[TIMOB-25286] Windows: editable property of Ti.UI.TextField does not work as expected
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-09-18T01:05:26.000+0000 |
Affected Version/s | Release 6.2.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Neeraj Mishra |
Assignee | Kota Iguchi |
Created | 2017-09-14T21:53:27.000+0000 |
Updated | 2018-08-06T17:37:03.000+0000 |
Description
Problem Description:
editable property of Ti.UI.TextField is not working as expected. Even though editable property is applied to TextField, when user clicks on it, border color is updated to blue and background color is updated to white which makes it look like it is editable.
Steps to Reproduce:
Attached the sample project
1. Run the attached Alloy project TestTextFieldEditable
2. index.js has a TextField with gray background
3. Click anywhere else on the window, TextField will be visible with gray background.
4. Click on TextField. This will turn the border color to blue and background color to White making the TextField look like it is editable.
Expected Behavior:
TextField should look like it is not editable once we apply the editable property to it whenever we click anywhere on the screen.
Attachments
File | Date | Size |
index.js | 2017-09-14T21:53:20.000+0000 | 63 |
index.tss | 2017-09-14T21:53:11.000+0000 | 155 |
index.xml | 2017-09-14T21:52:57.000+0000 | 172 |
I would close this as Invalid, because this is a platform component behavior. We are using
Xam.Controls.TextBox
and I can see that its border turns blue when you focus on the control. It indicates that the component is focused, it does not indicate the text box is editable.[~nmishra] In order to indicate the text box can not be used visually (including focus), you might want to use
touchEnabled:false
along witheditable
property.Thank you [~kiguchi]
Closing as invalid. If incorrect, please reopen.