perbaikan max lenght device
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
class="form-control"
|
||||
formControlName="name"
|
||||
placeholder="Device Name"
|
||||
maxlength="50"
|
||||
[ngClass]="{
|
||||
'is-invalid': submitted && f.name.errors
|
||||
}"
|
||||
@@ -230,6 +231,7 @@
|
||||
id="watt"
|
||||
class="form-control"
|
||||
formControlName="watt"
|
||||
maxlength="10"
|
||||
placeholder="Watt"
|
||||
[ngClass]="{
|
||||
'is-invalid': submitted && f.watt.errors
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<div class="media-body text-left">
|
||||
<h5 style="color: #ffffff">Kwh Consumption</h5>
|
||||
<h3 style="color: #ffffff">
|
||||
{{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(1) : 0 }} Kwh
|
||||
{{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(3) : 0 }} Kwh
|
||||
</h3>
|
||||
</div>
|
||||
<div class="align-self-center">
|
||||
|
||||
Reference in New Issue
Block a user