diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html index df158c37fe53..ff4a6a4a0ad3 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html @@ -97,7 +97,6 @@ [options]="dateVarOptions" [tabindex]="7" [placeholder]="'contenttypes.form.date.field.placeholder' | dm" - [autoDisplayFirst]="false" [showClear]="true" id="content-type-form-publish-date-field" appendTo="body" @@ -111,7 +110,6 @@ { expect(dropdown.group).toBe(true); expect(dropdown.placeholder).toBe('Select an action'); expect(dropdown.style).toEqual({ width: '100%' }); - expect(dropdown.autoDisplayFirst).toBe(false); }); }); diff --git a/core-web/libs/dotcms-scss/angular/dotcms-theme/components/form/_dropdown.scss b/core-web/libs/dotcms-scss/angular/dotcms-theme/components/form/_dropdown.scss index 659d9177f978..5aad1eb60e87 100644 --- a/core-web/libs/dotcms-scss/angular/dotcms-theme/components/form/_dropdown.scss +++ b/core-web/libs/dotcms-scss/angular/dotcms-theme/components/form/_dropdown.scss @@ -41,6 +41,12 @@ p-dropdown.ng-dirty.ng-invalid > .p-dropdown { .p-dropdown-label { padding-right: $spacing-1; @include truncate-text; + + &:focus, + &:enabled:focus { + outline: 0 none; + box-shadow: none; + } } &:has(.p-dropdown-clear-icon) { diff --git a/core-web/libs/template-builder/src/lib/components/template-builder/components/template-builder-box/template-builder-box.component.html b/core-web/libs/template-builder/src/lib/components/template-builder/components/template-builder-box/template-builder-box.component.html index 22fac5714955..5a5e1f7cbcca 100644 --- a/core-web/libs/template-builder/src/lib/components/template-builder/components/template-builder-box/template-builder-box.component.html +++ b/core-web/libs/template-builder/src/lib/components/template-builder/components/template-builder-box/template-builder-box.component.html @@ -33,7 +33,6 @@ [filter]="true" [placeholder]="dropdownLabel" [formControl]="formControl" - [autoDisplayFirst]="false" scrollHeight="18.75rem" dotContainerOptions data-testId="btn-plus"