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
Highlighted
Contributor
Posts: 21
Registered: ‎05-02-2010
My Device: Storm2 9550
My Carrier: Verizon

Limiting Number of Characters in TextField Input QML

Hi,

 

I am creating and TextField Input field in QML and was looking for a way to limit the number of characters that can be typed into that field. I am looking fo rthe user to just enter a number. The only input method types are numericpasswords, pin, numbersandpunctuation. I would like to limit the field to ONLY numbers AND a length of 1. Ideas?