24 $resultWidget = parent::prepareWidgetContent($widget, $withCalculatedData);
29 $resultWidget[
'content'][
'params'][
'data'][
'isFilled'] = !empty($resultWidget[
'content'][
'params'][
'data']);
30 $resultWidget[
'content'][
'params'][
'color'] = $resultWidget[
'config'][
'color'];
31 $resultWidget[
'content'][
'params'][
'errors'] = $calculatedPerformedData[
'errors'];
33 catch (\Throwable $exception)
35 $resultWidget[
'content'][
'params'][
'errors'] = [$exception->getMessage()];