From ac4dc5dff725558e1cf10b63d85e7a8d2b72ff69 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Thu, 30 Nov 2023 20:26:58 -0800
Subject: [PATCH] Add autocomplete
---
.../common/input/password/password.component.html | 2 +-
.../components/common/input/password/password.component.ts | 3 +++
.../app/components/common/input/text/text.component.html | 2 +-
.../src/app/components/common/input/text/text.component.ts | 5 ++++-
.../profile-edit-dialog/profile-edit-dialog.component.html | 6 +++---
5 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/src-ui/src/app/components/common/input/password/password.component.html b/src-ui/src/app/components/common/input/password/password.component.html
index 5414f034a..dc285ac7b 100644
--- a/src-ui/src/app/components/common/input/password/password.component.html
+++ b/src-ui/src/app/components/common/input/password/password.component.html
@@ -1,7 +1,7 @@
-
+
-
+
{{error}}
diff --git a/src-ui/src/app/components/common/input/text/text.component.ts b/src-ui/src/app/components/common/input/text/text.component.ts
index 4060977d4..a546e2e39 100644
--- a/src-ui/src/app/components/common/input/text/text.component.ts
+++ b/src-ui/src/app/components/common/input/text/text.component.ts
@@ -1,4 +1,4 @@
-import { Component, forwardRef } from '@angular/core'
+import { Component, Input, forwardRef } from '@angular/core'
import { NG_VALUE_ACCESSOR } from '@angular/forms'
import { AbstractInputComponent } from '../abstract-input'
@@ -15,6 +15,9 @@ import { AbstractInputComponent } from '../abstract-input'
styleUrls: ['./text.component.scss'],
})
export class TextComponent extends AbstractInputComponent
{
+ @Input()
+ autocomplete: string
+
constructor() {
super()
}
diff --git a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html
index d76ace8ba..b6423b796 100644
--- a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html
@@ -10,17 +10,17 @@
-
+