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
Laert
Posts: 13
Registered: ‎01-22-2013
My Device: Blackbery 10 Dev Alpha Simulator

TextInputProperties submit key signal not emmiting while in caps

[ Edited ]
TextField {
    input {
        submitKey: SubmitKey.Search;
 
        onSubmitted: {
                             console.log("pressed");
        }
    }
}
 
 

If upper case is on - on clicking submit buttton nothing happens, no signal is emmitted. How can I solve this ?

Developer
BBSJdev
Posts: 6,118
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: TextInputProperties submit key signal not emmiting while in caps

It took me a while to get to testing this but it works for me, what OS are you on?

 

This is the code I used to test...

 

RecipeSection {
            sectionTitle: "submitKey test"

            TextField {
                hintText: "submitKey test"
                
                input {
                    submitKey: SubmitKey.Search;
                    
                    onSubmitted: {
                    	submitKeyOutput.text = "Search: " + submitter.text;
                    }
                }
            }
            
            Label {
                id: submitKeyOutput
                text: "<output here>"
            }
 }

 


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
Laert
Posts: 13
Registered: ‎01-22-2013
My Device: Blackbery 10 Dev Alpha Simulator

Re: TextInputProperties submit key signal not emmiting while in caps

 

Are u sure ? I am using device 10.2.0.1155, and app  is built with 10.2 sdk

Developer
BBSJdev
Posts: 6,118
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30

Re: TextInputProperties submit key signal not emmiting while in caps

Very sure, also built for 10.2 running on 10.2.1.1259...

 

IMG_20140111_092212.png


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.
BlackBerry Development Advisor
sabdelsayed
Posts: 249
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10

Re: TextInputProperties submit key signal not emmiting while in caps

Hi Laert,

 

Are you still seeing this issue? If you are, could you please issue a jira ticket with the code and the details?

 

I have also tested the code shared by  on a 10.2.1 device/SDK and haven't been able to reporduce what you are seeing.

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker