config_tools: fix load board issue
fix load board issue
@@ -69,6 +69,8 @@ def get_dynamic_scenario(board):
form_schema = deepcopy(data)
current_form_type_schema_obj = form_schema['definitions'][f'{tab_type}{form_type}']
for key in ['type', 'required', 'properties']:
+ if key == 'required' and key not in current_form_type_schema_obj:
+ continue
form_schema[key] = current_form_type_schema_obj[key]
form_schemas[tab_type][form_type] = form_schema
