Merge pull request #2764 from JaySoni1/WEB-402-add-placeholder-text-to-column-type-dropdown
WEB-402 Add Placeholder Text to Column Type Dropdown
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<div class="layout-column">
|
<div class="layout-column">
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>{{ 'labels.inputs.Column Name' | translate }}</mat-label>
|
<mat-label>{{ 'labels.inputs.Column Name' | translate }}</mat-label>
|
||||||
<input matInput required formControlName="name" />
|
<input matInput required formControlName="name" placeholder="{{ 'labels.inputs.Column Name' | translate }}" />
|
||||||
<mat-error *ngIf="columnForm.controls.name.hasError('required')">
|
<mat-error *ngIf="columnForm.controls.name.hasError('required')">
|
||||||
{{ 'labels.inputs.Column Name' | translate }} {{ 'labels.commons.is' | translate }}
|
{{ 'labels.inputs.Column Name' | translate }} {{ 'labels.commons.is' | translate }}
|
||||||
<strong>{{ 'labels.commons.required' | translate }}</strong>
|
<strong>{{ 'labels.commons.required' | translate }}</strong>
|
||||||
@@ -22,11 +22,21 @@
|
|||||||
{{ columnType.displayValue | translateKey: 'inputs' }}
|
{{ columnType.displayValue | translateKey: 'inputs' }}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
<mat-error *ngIf="columnForm.controls.type.hasError('required')">
|
||||||
|
{{ 'labels.inputs.Column Type' | translate }} {{ 'labels.commons.is' | translate }}
|
||||||
|
<strong>{{ 'labels.commons.required' | translate }}</strong>
|
||||||
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-form-field *ngIf="columnForm.value.type === 'String'">
|
<mat-form-field *ngIf="columnForm.value.type === 'String'">
|
||||||
<mat-label> {{ 'labels.inputs.Column Length' | translate }}</mat-label>
|
<mat-label> {{ 'labels.inputs.Column Length' | translate }}</mat-label>
|
||||||
<input matInput required type="number" formControlName="length" />
|
<input
|
||||||
|
matInput
|
||||||
|
required
|
||||||
|
type="number"
|
||||||
|
formControlName="length"
|
||||||
|
placeholder="{{ 'labels.inputs.Column Length' | translate }}"
|
||||||
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-form-field *ngIf="columnForm.value.type === 'Dropdown'">
|
<mat-form-field *ngIf="columnForm.value.type === 'Dropdown'">
|
||||||
|
|||||||
Reference in New Issue
Block a user