Back to Paperless Ngx

Custom Field Edit Dialog.Component

src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html

2.20.15495 B
Original Source

{{getTitle()}}

@if (object?.id) { ID: {{object.id}} }

@if (typeFieldDisabled) { Data type cannot be changed after a field is created } @switch (objectForm.get('data_type').value) { @case (CustomFieldDataType.Select) { Add option @for (option of objectForm.controls.extra_data.controls.select_options.controls; track option; let i = $index) { Delete } @if (allSelectOptions.length > SELECT_OPTION_PAGE_SIZE) { } } @case (CustomFieldDataType.Monetary) {

} }

CancelSave