-
+
@if (patternRequired) {
diff --git a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts
index 4a18605e7..0f9cc9711 100644
--- a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts
+++ b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts
@@ -26,9 +26,9 @@ export class StoragePathEditDialogComponent extends EditDialogComponent
{created_year}-{title} ' +
+ ' {{ created_year }}-{{ title }}
' +
$localize`or use slashes to add directories e.g.` +
- ' {created_year}/{correspondent}/{title}
. ' +
+ ' {{ created_year }}/{{ title }}
. ' +
$localize`See documentation for full list.`
)
}
diff --git a/src-ui/src/app/components/common/input/textarea/textarea.component.html b/src-ui/src/app/components/common/input/textarea/textarea.component.html
new file mode 100644
index 000000000..9feb29857
--- /dev/null
+++ b/src-ui/src/app/components/common/input/textarea/textarea.component.html
@@ -0,0 +1,23 @@
+
+
+
+ @if (title) {
+
+ }
+ @if (removable) {
+
+ }
+
+
+
+ @if (hint) {
+
+ }
+
+ {{error}}
+
+
+
+
diff --git a/src-ui/src/app/components/common/input/textarea/textarea.component.scss b/src-ui/src/app/components/common/input/textarea/textarea.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/src-ui/src/app/components/common/input/textarea/textarea.component.spec.ts b/src-ui/src/app/components/common/input/textarea/textarea.component.spec.ts
new file mode 100644
index 000000000..15113c472
--- /dev/null
+++ b/src-ui/src/app/components/common/input/textarea/textarea.component.spec.ts
@@ -0,0 +1,31 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing'
+import {
+ FormsModule,
+ ReactiveFormsModule,
+ NG_VALUE_ACCESSOR,
+} from '@angular/forms'
+import { TextAreaComponent } from './textarea.component'
+
+describe('TextComponent', () => {
+ let component: TextAreaComponent
+ let fixture: ComponentFixture
+ let input: HTMLTextAreaElement
+
+ beforeEach(async () => {
+ TestBed.configureTestingModule({
+ declarations: [TextAreaComponent],
+ providers: [],
+ imports: [FormsModule, ReactiveFormsModule],
+ }).compileComponents()
+
+ fixture = TestBed.createComponent(TextAreaComponent)
+ fixture.debugElement.injector.get(NG_VALUE_ACCESSOR)
+ component = fixture.componentInstance
+ fixture.detectChanges()
+ input = component.inputField.nativeElement
+ })
+
+ it('should support use of input field', () => {
+ expect(component.value).toBeUndefined()
+ })
+})
diff --git a/src-ui/src/app/components/common/input/textarea/textarea.component.ts b/src-ui/src/app/components/common/input/textarea/textarea.component.ts
new file mode 100644
index 000000000..39b6c13fe
--- /dev/null
+++ b/src-ui/src/app/components/common/input/textarea/textarea.component.ts
@@ -0,0 +1,24 @@
+import { Component, Input, forwardRef } from '@angular/core'
+import { NG_VALUE_ACCESSOR } from '@angular/forms'
+import { AbstractInputComponent } from '../abstract-input'
+
+@Component({
+ providers: [
+ {
+ provide: NG_VALUE_ACCESSOR,
+ useExisting: forwardRef(() => TextAreaComponent),
+ multi: true,
+ },
+ ],
+ selector: 'pngx-input-textarea',
+ templateUrl: './textarea.component.html',
+ styleUrls: ['./textarea.component.scss'],
+})
+export class TextAreaComponent extends AbstractInputComponent {
+ @Input()
+ placeholder: string = ''
+
+ constructor() {
+ super()
+ }
+}
diff --git a/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.ts b/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.ts
index d227f01a5..5177a0a21 100644
--- a/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.ts
+++ b/src-ui/src/app/components/manage/storage-path-list/storage-path-list.component.ts
@@ -40,8 +40,9 @@ export class StoragePathListComponent extends ManagementListComponent {
- return c.path
+ return `${c.path}
`
},
},
]