Added message

This commit is contained in:
Daniel Maya 2022-01-12 13:59:46 +01:00
parent 172b34ee12
commit ffc468fce8
2 changed files with 9 additions and 1 deletions

View File

@ -389,7 +389,7 @@ function initialiceLayout(data) {
widgetId: widgetId
},
width: widgetId == 14 || widgetId == 2 ? 750 : 450,
maxHeight: 600,
maxHeight: 610,
minHeight: 400
},
onsubmit: {

View File

@ -253,6 +253,14 @@ class NetworkMapWidget extends Widget
// Retrieve global - common inputs.
$inputs = parent::getFormInputs();
$inputs[] = [
'label' => \ui_print_info_message(
__('It is recommended to have only one such widget in the control panel.'),
'',
true
),
];
// Default values.
if (isset($values['xOffset']) === false) {
$values['xOffset'] = 0;