aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-20 16:42:21 +0200
committerChocobozzz <me@florianbigard.com>2022-06-20 16:42:21 +0200
commit75084782b767f51f6158ada1984cf339c6302960 (patch)
tree178904ed08269de95683a063623d17cf87e56fad /client/src/app/+signup
parent9bc3622320dc43474ce4b60c222ec25e6e657b97 (diff)
downloadPeerTube-75084782b767f51f6158ada1984cf339c6302960.tar.gz
PeerTube-75084782b767f51f6158ada1984cf339c6302960.tar.zst
PeerTube-75084782b767f51f6158ada1984cf339c6302960.zip
Handle input error in custom input text
Diffstat (limited to 'client/src/app/+signup')
-rw-r--r--client/src/app/+signup/+register/steps/register-step-user.component.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/+signup/+register/steps/register-step-user.component.html b/client/src/app/+signup/+register/steps/register-step-user.component.html
index bffcf0346..3e0d35006 100644
--- a/client/src/app/+signup/+register/steps/register-step-user.component.html
+++ b/client/src/app/+signup/+register/steps/register-step-user.component.html
@@ -64,10 +64,8 @@
64 64
65 <my-input-text 65 <my-input-text
66 formControlName="password" inputId="password" 66 formControlName="password" inputId="password"
67 [ngClass]="{ 'input-error': formErrors['password'] }" autocomplete="new-password" 67 [formError]="formErrors['password']" autocomplete="new-password"
68 ></my-input-text> 68 ></my-input-text>
69
70 <div *ngIf="formErrors.password" class="form-error">{{ formErrors.password }}</div>
71 </div> 69 </div>
72 </div> 70 </div>
73</form> 71</form>