{{ data.columnName ? ('labels.buttons.Edit' | translate) : ('labels.buttons.Add' | translate) }} {{ 'labels.inputs.Column' | translate }}

{{ 'labels.inputs.Column Name' | translate }} @if (columnForm.controls.name.hasError('required')) { {{ 'labels.inputs.Column Name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Column Type' | translate }} @for (columnType of columnTypeData; track columnType) { {{ columnType.displayValue | translateKey: 'inputs' }} } @if (columnForm.controls.type.hasError('required')) { {{ 'labels.inputs.Column Type' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (columnForm.value.type === 'String') { {{ 'labels.inputs.Column Length' | translate }} @if (columnForm.controls.length.hasError('required')) { {{ 'labels.inputs.Column Length' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } } @if (columnForm.value.type === 'Dropdown') { {{ 'labels.inputs.Column Code' | translate }} @for (columnCode of data.columnCodes; track columnCode) { {{ columnCode.name }} } @if (columnForm.controls.code.hasError('required')) { {{ 'labels.inputs.Column Code' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } }
{{ 'labels.text.Mandatory' | translate }}
{{ 'labels.inputs.Unique' | translate }}
{{ 'labels.inputs.Indexed' | translate }}