mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
ACS-3758 Focus modal first focusable element after opening (#8006)
This commit is contained in:
parent
cf29e9e7c2
commit
5d360081ef
@ -27,6 +27,7 @@ import { ConfirmDialogComponent } from './confirm.dialog';
|
||||
import { MatDatetimepickerModule } from '@mat-datetimepicker/core';
|
||||
import { MatMomentDatetimeModule } from '@mat-datetimepicker/moment';
|
||||
import { LibraryDialogComponent } from './library/library.dialog';
|
||||
import { ContentDirectiveModule } from '../directives';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@ -36,7 +37,8 @@ import { LibraryDialogComponent } from './library/library.dialog';
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
MatMomentDatetimeModule,
|
||||
MatDatetimepickerModule
|
||||
MatDatetimepickerModule,
|
||||
ContentDirectiveModule
|
||||
],
|
||||
declarations: [
|
||||
FolderDialogComponent,
|
||||
|
@ -12,6 +12,7 @@
|
||||
matInput
|
||||
required
|
||||
[formControlName]="'name'"
|
||||
adf-auto-focus
|
||||
/>
|
||||
|
||||
<mat-hint *ngIf="form.controls['name'].dirty">
|
||||
|
@ -9,6 +9,7 @@
|
||||
matInput
|
||||
formControlName="title"
|
||||
autocomplete="off"
|
||||
adf-auto-focus
|
||||
/>
|
||||
|
||||
<mat-hint *ngIf="libraryTitleExists">{{
|
||||
|
Loading…
x
Reference in New Issue
Block a user