Disallow focus for TextInput component

  • Hi All,

    I need to prohibit text input from keyboard and only let user to use in-app keyboard to enter text.
    One way I came up with so far would be to set focus of TextInput component to false every time onFocusChanged is triggered but I'm not sure if this is the best approach.

    Could someone please suggest a better way to accomplish this? Maybe there is already a property which is used to disallow focus in qml component?

    Thanks in advance)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.