diff --git a/web/lora-package/package.json b/web/lora-package/package.json index 2eb72f2b6..87e6c3bd3 100644 --- a/web/lora-package/package.json +++ b/web/lora-package/package.json @@ -1,6 +1,6 @@ { "name": "lora-package", - "version": "1.1.2", + "version": "1.1.2-1", "description": "This is the Cumulocity LoRa plugin.", "scripts": { "start": "c8ycli server --env.extraWebpackConfig=./extra-webpack.config.js -u https://lora-dev.cumulocity.com --shell devicemanagement", diff --git a/web/lora-package/src/devices/devices.component.ts b/web/lora-package/src/devices/devices.component.ts index 9dd389010..2fc4c0342 100644 --- a/web/lora-package/src/devices/devices.component.ts +++ b/web/lora-package/src/devices/devices.component.ts @@ -123,7 +123,7 @@ export class DevicesComponent implements OnInit { getFieldFromElement(element: DeviceOperationElement): FormlyFieldConfig { let field: FormlyFieldConfig = { key: element.id, - templateOptions: { label: element.name }, + props: { label: element.name }, }; if (element.value) { field.defaultValue = element.value;