A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix (beta): use correct html button type for custom field buttons (#12819)
shamoon83d59ad3bf45
diff --git a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.htmlindex a4b3200d7..79b93ee31 100644--- a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html+++ b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html@@ -10,12 +10,12 @@</div></div>@for (field of filteredFields; track field.id) {- <button class="list-group-item list-group-item-action bg-light" (click)="addField(field)" #button>+ <button type="button" class="list-group-item list-group-item-action bg-light" (click)="addField(field)" #button><small class="d-flex">{{field.name}} <small class="ms-auto text-muted">{{getDataTypeLabel(field.data_type)}}</small></small></button>}@if (!filterText?.length || filteredFields.length === 0) {- <button class="list-group-item list-group-item-action bg-light" (click)="createField(filterText)" [disabled]="!canCreateFields" #button>+ <button type="button" class="list-group-item list-group-item-action bg-light" (click)="createField(filterText)" [disabled]="!canCreateFields" #button><small><i-bs width=".9em" height=".9em" name="asterisk" class="me-1"></i-bs><ng-container i18n>Create new field</ng-container></small>