Problem Description
Textfields with passwordMask with true are working excellent, except if you use them inside TableViewRows. If you are using them inside a TableViewRow, it will only accept one character and then stop to work.
Steps to reproduce
1. Create a new alloy project.
2. Add this code to views/index.xml
<Alloy>
<Window class="container">
<TableView style='Titanium.UI.iPhone.TableViewStyle.GROUPED' background='transparent'>
<TableViewRow>
<Label id='lblPassword' text='Password'/>
<TextField id='txtPassword' passwordMask='true' width='200dp' hintText='Required'></TextField>
</TableViewRow>
</TableView>
</Window>
</Alloy>
3. Compile and run in simulator.
4. Click on the textfield and type more than one character.
Extra info
This happening in plain Titanium Project:
http://developer.appcelerator.com/question/149243/302-passwordmask-bug
This happening in Alloy:
http://developer.appcelerator.com/question/150417/passwordmask-does-not-work-when-textfield-inside-tableviewrow
No comments