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
New Developer
titchbb
Posts: 13
Registered: ‎09-20-2012
My Device: BlackBerry 10 Dev Alpha

Keyboard types and related context menu options in Cascades

Hi,

 

I have a TextField and I want the user to be presented with a keyboard with both letters and numbers on.

I also require the user to be able to copy selected text from the field.

 

Using the TextInputMode.Password option gives me the desired keyboard, but disables copying selected text from the field.

 

So my questions are:

 

1) How can I have the keyboard with numbers across the top without changing the field to a password field?

2) If this is not possible, how can I enable the "Copy" option in the context menu when using a password field?

 

Thanks

 

TextField {
    inputMode: TextFieldInputMode.Password
    masking: TextInputMasking.NotMaskedNotTogglable
}
Developer
BBSJdev
Posts: 6,118
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: Keyboard types and related context menu options in Cascades

1) You're limited to those provided at the moment, if you've run through them all and haven't found one you are looking for then put a request in to BlackBerry.

 

2) Also not possible as it negates the point of having a password if it can just be copied and pasted in plain text for all to see.


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
New Developer
titchbb
Posts: 13
Registered: ‎09-20-2012
My Device: BlackBerry 10 Dev Alpha

Re: Keyboard types and related context menu options in Cascades

Ok I thought that may be the case, thanks for confirming.