fixed validation issue on rich text editor
This commit is contained in:
parent
803e63dd41
commit
5f36ebe3ca
|
@ -8,7 +8,7 @@ import { Subscription } from "rxjs";
|
|||
template: `
|
||||
<div class="editor-wrapper" [class]="wrapperClasses">
|
||||
<angular-editor class="full-width editor" [ngClass]="editable ? '': 'disabled'" [id]="id"
|
||||
[config]="editorConfig" [formControl]="form" [required]="form.value ? false : required"
|
||||
[config]="editorConfig" [formControl]="form" [required]="required"
|
||||
placeholder="{{(placeholder? (placeholder | translate) : '') + (required ? ' *': '')}}"
|
||||
(paste)="pasteWithoutFormatting($event)"></angular-editor>
|
||||
<mat-icon *ngIf="form.value && editable" (click)="parentFormGroup.get(controlName).patchValue('')" class="clear">close</mat-icon>
|
||||
|
|
Loading…
Reference in New Issue