Increase min sql field height, add label to sql field
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
mat-form-field {
|
mat-form-field {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ngx-monaco-editor {
|
||||||
|
min-height: 400px;
|
||||||
|
}
|
||||||
|
|||||||
@@ -30,12 +30,15 @@ import { MonacoEditorModule } from 'ngx-monaco-editor-v2';
|
|||||||
[(ngModel)]="value"
|
[(ngModel)]="value"
|
||||||
[maxlength]="configuration().maxLength ?? null"
|
[maxlength]="configuration().maxLength ?? null"
|
||||||
/>
|
/>
|
||||||
<mat-hint *ngIf="text.hasError('maxlength')"
|
@if(text.hasError('maxlength')) {
|
||||||
|
<mat-hint
|
||||||
>Text should be less than
|
>Text should be less than
|
||||||
{{ configuration().maxLength }} characters</mat-hint
|
{{ configuration().maxLength }} characters</mat-hint
|
||||||
>
|
>
|
||||||
|
}
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
} @else {
|
} @else {
|
||||||
|
<h2>{{ label() }}</h2>
|
||||||
<ngx-monaco-editor
|
<ngx-monaco-editor
|
||||||
[(ngModel)]="value"
|
[(ngModel)]="value"
|
||||||
[options]="editorOptions"
|
[options]="editorOptions"
|
||||||
|
|||||||
Reference in New Issue
Block a user