Rectangle {
id: name
//...
property string title: "" <------ title
//...
}
Text {
//...
id: title <----- title
//...
text:title <---- which title ?!?!?!
}
The problem is you have a property
bound to the title identifier, and an id
bound to the title identifier. Based on your output, you are likely trying to assign text from the id
(and not the property
).
Changing the id
of your Text
component should solve your problem.