Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Darkks
Posts: 2
Registered: ‎02-23-2012
My Device: 9300
My Carrier: twe

PasswordEditField label is replaced by asterisk

Hi All,

I have a problem with PasswordEditField   on the device and simulator BB9900 OS7 (on the other devises works correctly 9800,9300,9700).

The problem is that after the introduction of 6 characters, the label is replaced by an asterisk.

e.g 

 PasswordEditField pin  = new PasswordEditField("Pin: ", null, 6, EditField.FILTER_NUMERIC|FIELD_VCENTER){
			protected void paint(Graphics g) {
				g.setColor(Color.WHITE);
				super.paint(g);
			}
		};

 

 

But if I change maxNumChars to 7 or other digit the issue not reproduced, I also noticed if change the number of characters in label to 6 or 4 ("Pin: " to " Pin: ")the issue not reproduced.

 

entered 5 characters:

 

entered 6 characters:

 

I appreciate any ideas. Is it known issue? Did anybody faced it?

Or did anybody met discussion of this issue?

Please use plain text.
Developer
simon_hain
Posts: 16,010
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: PasswordEditField label is replaced by asterisk

sounds like a bug to me.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.