form-section.component.html: Updated classes of comment field parent and wrapperClasses so that it looks full width in all views.
This commit is contained in:
parent
304a6cfdb3
commit
e329ef763a
|
@ -40,14 +40,14 @@
|
|||
<span class="mt-1" *ngIf="!compositeFieldFormGroup.get('multiplicity').value.placeholder">{{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.MULTIPLICITY-ADD-ONE-FIELD' | translate}}</span>
|
||||
</span>
|
||||
</div>
|
||||
<ng-container *ngIf="compositeFieldFormGroup.get('hasCommentField').value" class="">
|
||||
<div *ngIf="compositeFieldFormGroup.get('hasCommentField').value" class="col-12">
|
||||
<!-- <input matInput formControlName="commentFieldValue" placeholder="{{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.COMMENT-PLACEHOLDER' | translate}}">-->
|
||||
<rich-text-editor-component [parentFormGroup]="compositeFieldFormGroup" [controlName]="'commentFieldValue'"
|
||||
[id]="'editor1'" [placeholder]="'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.COMMENT-PLACEHOLDER' | translate"
|
||||
[wrapperClasses]="'col-12 mb-2'">
|
||||
[wrapperClasses]="'mb-2'">
|
||||
</rich-text-editor-component>
|
||||
<!-- <mat-hint>{{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.COMMENT-HINT' | translate}}</mat-hint>-->
|
||||
</ng-container>
|
||||
</div>
|
||||
<!-- <div class="col"></div>
|
||||
<button class="col-auto" mat-icon-button type="button" (click)="next(compositeField)">
|
||||
<mat-icon>expand_more</mat-icon>
|
||||
|
@ -113,14 +113,14 @@
|
|||
<span class="mt-1" *ngIf="!fieldsetEntry.form.get('multiplicity').value.placeholder">{{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.MULTIPLICITY-ADD-ONE-FIELD' | translate}}</span>
|
||||
</span>
|
||||
</div>
|
||||
<ng-container *ngIf="fieldsetEntry.form.get('hasCommentField').value" class="">
|
||||
<div *ngIf="fieldsetEntry.form.get('hasCommentField').value" class="col-12">
|
||||
<!-- <input matInput formControlName="commentFieldValue" placeholder="{{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.COMMENT-PLACEHOLDER' | translate}}">-->
|
||||
<rich-text-editor-component [parentFormGroup]="fieldsetEntry.form" [controlName]="'commentFieldValue'"
|
||||
[id]="'editor1'" [placeholder]="'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.COMMENT-PLACEHOLDER' | translate"
|
||||
[wrapperClasses]="'col-12 mb-2'">
|
||||
[wrapperClasses]="' mb-2'">
|
||||
</rich-text-editor-component>
|
||||
<!-- <mat-hint>{{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.COMMENT-HINT' | translate}}</mat-hint>-->
|
||||
</ng-container>
|
||||
</div>
|
||||
<!-- <div class="col"></div>
|
||||
<button class="col-auto" mat-icon-button type="button" (click)="next(compositeField)">
|
||||
<mat-icon>expand_more</mat-icon>
|
||||
|
|
Loading…
Reference in New Issue