12-14-2012 09:03 AM
The Gold SDK claims to support max text length limits on a text editor.
It appears this feature has only been added to a TextArea object instead of say at the AbstractTextControl level - with the consequence that single line text editors - a TextField object - still dont support a pretty basic requirement of limiting the text entered by a user.
Can anyone confirm a TextField still has no way of limiting the number of characters a user can enter ?
12-14-2012 09:11 AM
12-19-2012 06:49 AM
Confirmed, the QML property "
maximumLength" only works with TextArea.
TextField rejects this property
12-19-2012 07:22 AM
I wonder why they've done it that way? As you say, it's at the wrong level of inheritance.
The only solution for now will be to capture keypresses and do your own field validation I guess.
03-28-2013 06:06 AM - edited 03-28-2013 06:24 AM
Where can we raise a request ticket for this feature?
While waiting for this feature, we can use a validator: https://developer.blackberry.com/cascades/document