Improve new storage path display on list / edit

This commit is contained in:
shamoon
2024-10-02 22:23:43 -07:00
parent 8fd34f6b19
commit 3fcddc4e1a
8 changed files with 52 additions and 24 deletions

View File

@@ -11,7 +11,17 @@
}
</div>
<div class="position-relative" [class.col-md-9]="horizontal">
<textarea #inputField class="form-control" [class.is-invalid]="error" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)" [disabled]="disabled" [placeholder]="placeholder"></textarea>
<textarea #inputField
[id]="inputId"
class="form-control"
[class.is-invalid]="error"
[class.font-monospace]="monospace"
[(ngModel)]="value"
(change)="onChange(value)"
[disabled]="disabled"
[placeholder]="placeholder"
rows="6">
</textarea>
@if (hint) {
<small class="form-text text-muted" [innerHTML]="hint | safeHtml"></small>
}

View File

@@ -18,6 +18,9 @@ export class TextAreaComponent extends AbstractInputComponent<string> {
@Input()
placeholder: string = ''
@Input()
monospace: boolean = false
constructor() {
super()
}