Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QDS 3.8
-
None
-
0baaae8f5 (qds/dev)
-
QDS Berlin - 2023 Week 3/4
Description
If user calls their component "Component" in Figma, it will pass both exporter and importer and Bridge will generate Component.ui.qml, and will use its instances like
Component { id: component1; x: 0 .... }
"Component" is a reserved type name in QML (Component QML Type) and it's usage might cause errors with property overrides in generated files (see attachment)
Components names should be sanitized to prevent such cases