Skip to content

Commit 0a956f1

Browse files
committed
1 parent a67b107 commit 0a956f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/project-editor/flow/component.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4904,6 +4904,7 @@ export function checkProperty(
49044904
}
49054905
} else if (
49064906
!isPropertyOptional(object, propertyInfo) &&
4907+
(!(object instanceof ProjectEditor.WidgetClass) || object instanceof ProjectEditor.LVGLWidgetClass) &&
49074908
!isPropertyHidden(object, propertyInfo)
49084909
) {
49094910
messages.push(propertyNotSetMessage(object, propertyInfo.name));
@@ -4940,6 +4941,7 @@ export function checkProperty(
49404941
}
49414942
} else if (
49424943
!isPropertyOptional(object, propertyInfo) &&
4944+
(!(object instanceof ProjectEditor.WidgetClass) || object instanceof ProjectEditor.LVGLWidgetClass) &&
49434945
!isPropertyHidden(object, propertyInfo)
49444946
) {
49454947
messages.push(propertyNotSetMessage(object, propertyInfo.name));
@@ -4964,6 +4966,7 @@ export function checkProperty(
49644966
}
49654967
} else if (
49664968
!isPropertyOptional(object, propertyInfo) &&
4969+
(!(object instanceof ProjectEditor.WidgetClass) || object instanceof ProjectEditor.LVGLWidgetClass) &&
49674970
!isPropertyHidden(object, propertyInfo)
49684971
) {
49694972
messages.push(propertyNotSetMessage(object, propertyInfo.name));

0 commit comments

Comments
 (0)