Browse Source

Add default property empty array to dataKeySchema and add case to updateWidgetData

pull/5153/head
ArtemDzhereleiko 5 years ago
parent
commit
9d3fe774f9
  1. 2
      application/src/main/data/json/system/widget_bundles/input_widgets.json
  2. 3
      ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.ts

2
application/src/main/data/json/system/widget_bundles/input_widgets.json

File diff suppressed because one or more lines are too long

3
ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.ts

@ -355,6 +355,9 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni
case 'booleanSwitch':
value = (keyData[0][1] === 'true');
break;
case 'select':
value = keyData[0][1].toString();
break;
default:
value = keyData[0][1];
}

Loading…
Cancel
Save