QML TextField: Binding Loop Detected for Text Property

I am using QML with JavaScript. I want to know exactly what the following error means, so I can fix it:

QML TextField: Binding loop detected for property "text" 

Sometimes my application gives me this warning and I do not understand it

+6
source share
1 answer

The binding loop detected for the fooProperty property usually means that you may have created interdependent binding. You should check two things:

  • Check if fooProperty is fooProperty to some property, which in turn is bound to fooProperty under some condition. (a kind of cyclical dependence)

  • Also, check if fooProperty enters an invalid state in any state.

+8
source

Source: https://habr.com/ru/post/948572/


All Articles