Browse Source

Fix input type in lwm2m attributes list

pull/4780/head
Vladyslav_Prykhodko 5 years ago
parent
commit
f4bf956999
  1. 2
      ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-attributes-key-list.component.html

2
ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-attributes-key-list.component.html

@ -39,7 +39,7 @@
</mat-form-field>
<mat-form-field fxFlex="60" floatLabel="always" hideRequiredMarker>
<mat-label></mat-label>
<input formControlName="value" matInput required
<input formControlName="value" matInput required type="number"
placeholder="{{ 'key-val.value' | translate }}">
<mat-error fxLayout="row" *ngIf="nameValueControl.get('value').hasError('required')">
{{ 'device-profile.lwm2m.attribute-value-required' | translate }}

Loading…
Cancel
Save