htmlTag always returns 'div'
madagon opened this issue · 1 comments
madagon commented
Setting htmlTag
on a component has no effect on its construction. Within the Item.qml
' constructor, calling htmlTag()
always returns div
. Apparently, the properties are not processed and attached to this
before the instantiation.
All web controls are affected.
A temporary workaround would be overriding the getTag() function in each component.
Script {
source: 'http://cdn...';
function getTag() {
return 'script';
}
}