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
Trusted Contributor
AllSystemGo
Posts: 140
Registered: ‎11-23-2010
My Device: Torch 9800
Accepted Solution

TextField

[ Edited ]

Quick question, I was playing around in my software with the inputmode: in a textfield and I don't know what I'm doing wrong but the TextFieldInputMode.EmailAddress doesn't change the keyboard. 

 

I would like to know if there is an inputmode that would prevent the first letter to be capitalise. Cause right now I would like my user to have the choice to enter their user with or without the first cap letter.

 

Thank you.

Please use plain text.
Developer
level32
Posts: 52
Registered: ‎03-29-2012
My Device: Playbook, Dev Alpha

Re: TextField

TextFieldInputMode.EmailAddress will stop the first letter to be capitalized. Just tested on the Dev Alpha device.
Please use plain text.
Trusted Contributor
AllSystemGo
Posts: 140
Registered: ‎11-23-2010
My Device: Torch 9800

Re: TextField

Oh ok thank you, never though using that. But still when using that inputmode isn't it suppose to change the layout for the email form ?

Please use plain text.
Developer
level32
Posts: 52
Registered: ‎03-29-2012
My Device: Playbook, Dev Alpha

Re: TextField

I don't see a difference. On most platforms, it adds an @ button and maybe a ".com" to facilitate emails. This may be coming in a future update.
Please use plain text.