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