File tree 1 file changed +6
-3
lines changed
packages/project-editor/lvgl
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3097,23 +3097,26 @@ export class LVGLActionComponent extends ActionComponent {
3097
3097
break ;
3098
3098
case "hidden" :
3099
3099
actionJs . action = "objSetFlagHidden" ;
3100
- actionJs . hidden = actionJs . value ;
3100
+ actionJs . hidden =
3101
+ actionJs . value ?? false ;
3101
3102
delete actionJs . value ;
3102
3103
actionJs . hiddenType =
3103
3104
actionJs . valueType ;
3104
3105
delete actionJs . valueType ;
3105
3106
break ;
3106
3107
case "checked" :
3107
3108
actionJs . action = "objSetStateChecked" ;
3108
- actionJs . checked = actionJs . value ;
3109
+ actionJs . checked =
3110
+ actionJs . value ?? false ;
3109
3111
delete actionJs . value ;
3110
3112
actionJs . checkedType =
3111
3113
actionJs . valueType ;
3112
3114
delete actionJs . valueType ;
3113
3115
break ;
3114
3116
case "disabled" :
3115
3117
actionJs . action = "objSetStateDisabled" ;
3116
- actionJs . disabled = actionJs . value ;
3118
+ actionJs . disabled =
3119
+ actionJs . value ?? false ;
3117
3120
delete actionJs . value ;
3118
3121
actionJs . disabledType =
3119
3122
actionJs . valueType ;
You can’t perform that action at this time.
0 commit comments