textarea input and multiline output for Customer.remark (was missing)
This commit is contained in:
parent
8c367ab566
commit
0b3f4d4a03
@ -63,7 +63,7 @@
|
|||||||
</dd>
|
</dd>
|
||||||
<dt><span jhiTranslate="hsadminNgApp.customer.remark">Remark</span></dt>
|
<dt><span jhiTranslate="hsadminNgApp.customer.remark">Remark</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<span>{{customer.remark}}</span>
|
<span [innerHTML]="customer.remark | linebreaks"></span>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
@ -198,8 +198,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-control-label" jhiTranslate="hsadminNgApp.customer.remark" for="field_remark">Remark</label>
|
<label class="form-control-label" jhiTranslate="hsadminNgApp.customer.remark" for="field_remark">Remark</label>
|
||||||
<input type="text" class="form-control" name="remark" id="field_remark"
|
<textarea class="form-control" name="remark" id="field_remark" rows="3"
|
||||||
[(ngModel)]="customer.remark" maxlength="160"/>
|
[(ngModel)]="customer.remark" maxlength="160"></textarea>
|
||||||
<div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)">
|
<div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)">
|
||||||
<small class="form-text text-danger"
|
<small class="form-text text-danger"
|
||||||
[hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }">
|
[hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }">
|
||||||
|
Loading…
Reference in New Issue
Block a user