diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-20 15:56:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-20 15:56:16 +0200 |
commit | 9bc3622320dc43474ce4b60c222ec25e6e657b97 (patch) | |
tree | 081aadbe0c3e69425dbe1946d98fd890785c1aef /client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html | |
parent | 3031971ec21ed6400d3b73d1f7e00b44d1617667 (diff) | |
download | PeerTube-9bc3622320dc43474ce4b60c222ec25e6e657b97.tar.gz PeerTube-9bc3622320dc43474ce4b60c222ec25e6e657b97.tar.zst PeerTube-9bc3622320dc43474ce4b60c222ec25e6e657b97.zip |
Handle input error in markdown textarea
Diffstat (limited to 'client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html')
-rw-r--r-- | client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html index 35682cf81..e867f63b8 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html | |||
@@ -42,13 +42,7 @@ | |||
42 | 42 | ||
43 | <div class="form-group"> | 43 | <div class="form-group"> |
44 | <label i18n for="description">Description</label><my-help helpType="markdownText"></my-help> | 44 | <label i18n for="description">Description</label><my-help helpType="markdownText"></my-help> |
45 | <my-markdown-textarea | 45 | <my-markdown-textarea id="description" formControlName="description" [formError]="formErrors['description']"></my-markdown-textarea> |
46 | id="description" formControlName="description" | ||
47 | [ngClass]="{ 'input-error': formErrors['description'] }" | ||
48 | ></my-markdown-textarea> | ||
49 | <div *ngIf="formErrors.description" class="form-error"> | ||
50 | {{ formErrors.description }} | ||
51 | </div> | ||
52 | </div> | 46 | </div> |
53 | </div> | 47 | </div> |
54 | 48 | ||