Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem with TextArea textEdit.RichText and binding



  • Hello,

    in my QML view I have a text area field to edit a value which is a Q_PROPERTY from my c++ application. I bind the content of the text area to the Q_PROPERTY with the binding property:

            Binding {
                target: stringDecorator
                property: "ui_value"
                value: textValue.text
            }
    

    If I set textFormat: TextArea.RichText I will get a warning:

    QML TextArea: Binding loop detected for property "text"
    

    How can I avoid this warning message?

    Thank you for your help.
    BR
    martin


Log in to reply