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