Skip to content

Commit

Permalink
Make in place edit work with enter and escape
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbrucker committed Jan 3, 2024
1 parent f4a453b commit dc4198e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ import { DownloadLinksComponent } from './download-links/download-links.componen
import { FarmerComponent } from './farmer/farmer.component';
import { ConfirmationModalComponent } from './confirmation-modal/confirmation-modal.component';
import { PlotterComponent } from './plotter/plotter.component';
import { EditableComponent, EditModeDirective, ViewModeDirective } from '@ngneat/edit-in-place';
import {
EditableComponent,
EditableOnEnterDirective,
EditableOnEscapeDirective,
EditModeDirective,
ViewModeDirective
} from '@ngneat/edit-in-place'
import {ClipboardModule} from 'ngx-clipboard';
import { ProfileComponent } from './profile/profile.component';
import { SharedDashboardComponent } from './shared-dashboard/shared-dashboard.component';
Expand Down Expand Up @@ -81,6 +87,8 @@ import { SharedDashboardComponent } from './shared-dashboard/shared-dashboard.co
EditableComponent,
EditModeDirective,
ViewModeDirective,
EditableOnEnterDirective,
EditableOnEscapeDirective,
ReactiveFormsModule,
ClipboardModule,
],
Expand Down

0 comments on commit dc4198e

Please sign in to comment.