Home > front end >  Limiting QML TextField length causes multibyte-characters to be trimmed off
Limiting QML TextField length causes multibyte-characters to be trimmed off

Time:11-05

I have a QML TextField and want to limit the length to 16 characters.

TextField {
    id: myTextField
    maximumLength: 16
}

Say I enter a multibyte-character like "

  • Related