updated 'csvColumnHeader' property to not be required on add/edit file attribute dialog
This commit is contained in:
parent
b48a08c124
commit
2ad4dc38fe
@ -20,7 +20,7 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="iqser-input-group required w-300">
|
||||
<div class="iqser-input-group w-300">
|
||||
<label translate="add-edit-file-attribute.form.column-header"></label>
|
||||
<input
|
||||
[placeholder]="'add-edit-file-attribute.form.column-header-placeholder' | translate"
|
||||
|
||||
@ -31,7 +31,7 @@ export class AddEditFileAttributeDialogComponent extends BaseDialogComponent {
|
||||
|
||||
this.form = this._formBuilder.group({
|
||||
label: [this.fileAttribute?.label, Validators.required],
|
||||
csvColumnHeader: [this.fileAttribute?.csvColumnHeader, Validators.required],
|
||||
csvColumnHeader: [this.fileAttribute?.csvColumnHeader],
|
||||
type: [this.fileAttribute?.type || FileAttributeConfigTypes.TEXT, Validators.required],
|
||||
readonly: [this.fileAttribute ? !this.fileAttribute.editable : false],
|
||||
primaryAttribute: [this.fileAttribute?.primaryAttribute],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user