generated from nhcarrigan/template
fix: rename form output bindings to avoid DOM event conflicts
Renamed @Output() properties in all form components from 'save' and 'cancel' to 'formSubmit' and 'formCancel' to resolve ESLint rule @angular-eslint/no-output-native which prohibits output bindings named after standard DOM events. Updated all template bindings in detail components and admin suggestions to use the new output names. - Renamed save → formSubmit in all 6 form components - Renamed cancel → formCancel in all 6 form components - Updated bindings in 6 detail components - Updated bindings in admin suggestions component
This commit is contained in:
@@ -31,8 +31,8 @@ import { Music, Comment, MusicStatus, MusicType, UpdateMusicDto } from '@library
|
||||
<app-music-form
|
||||
mode="edit"
|
||||
[music]="music()!"
|
||||
(save)="saveEdit($event)"
|
||||
(cancel)="cancelEdit()"
|
||||
(formSubmit)="saveEdit($event)"
|
||||
(formCancel)="cancelEdit()"
|
||||
></app-music-form>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user