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

Native Development

Reply
Developer
Posts: 65
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)
My Carrier: MY COMPANY
Accepted Solution

Disable Eye button from Password TextField

Hello All,


how to disable eye button from password TextField.

 

Thanks

Ankur

          

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Disable Eye button from Password TextField

use https://developer.blackberry.com/cascades/reference/bb__cascades__textinputmasking.html
----------------------------------------------------------
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
Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Disable Eye button from Password TextField

Be sure you really want to do that though. It can be frustrating for a user to not be able to see the password, especially if it is long and conplicated.

 

The "eye" button lets the user make the choice to display the password if they are confident they are in a secure enviroment. Are you sure you want to remove that choice?

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Developer
Posts: 65
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)
My Carrier: MY COMPANY

Re: Disable Eye button from Password TextField

I really wanna do that if u have any solution then please tell me.

 

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Disable Eye button from Password TextField


ankursahu19 wrote:

I really wanna do that if u have any solution then please tell me.

 


you tried my suggestion and it did not work?

----------------------------------------------------------
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
Developer
Posts: 65
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)
My Carrier: MY COMPANY

Re: Disable Eye button from Password TextField

No, I made it custom.

 

Highlighted
Developer
Posts: 107
Registered: ‎06-12-2012
My Device: Dev Alpha C, Playbook
My Carrier: Loop

Re: Disable Eye button from Password TextField

So is the issue resolved? If not then try what is suggested above it would work fine.
----------------------------------------------------------
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.