#118 [intUI/textareas] multiline Remark in SepaMandate

This commit is contained in:
Michael Hoennig 2019-05-03 00:17:43 +02:00
parent 0b3f4d4a03
commit 6816930793
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@
</dd>
<dt><span jhiTranslate="hsadminNgApp.sepaMandate.remark">Remark</span></dt>
<dd>
<span>{{sepaMandate.remark}}</span>
<span [innerHTML]="sepaMandate.remark | linebreaks"></span>
</dd>
<dt><span jhiTranslate="hsadminNgApp.sepaMandate.customer">Customer</span></dt>
<dd>

View File

@ -110,8 +110,8 @@
</div>
<div class="form-group">
<label class="form-control-label" jhiTranslate="hsadminNgApp.sepaMandate.remark" for="field_remark">Remark</label>
<input type="text" class="form-control" name="remark" id="field_remark"
[(ngModel)]="sepaMandate.remark" maxlength="160"/>
<textarea class="form-control" name="remark" id="field_remark" rows="3"
[(ngModel)]="sepaMandate.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 }">