guide de contrib
This commit is contained in:
parent
e7f7e9e19e
commit
464e0e5499
12 changed files with 346 additions and 37 deletions
|
@ -16,6 +16,7 @@ export class EditForm implements OnChanges {
|
|||
@Output() saved = new EventEmitter<any>();
|
||||
@Output() created = new EventEmitter<any>();
|
||||
@Output() deleted = new EventEmitter<any>();
|
||||
@Output() canceled = new EventEmitter<void>();
|
||||
|
||||
form: FormGroup;
|
||||
allPresets: Array<{ key: string, label: string, emoji: string, category: string, description?: string, durationHours?: number, properties?: Record<string, { label?: string, writable?: boolean, values?: any[], default?: any, allow_custom?: boolean, allow_empty?: boolean }> }>;
|
||||
|
@ -287,6 +288,7 @@ export class EditForm implements OnChanges {
|
|||
});
|
||||
this.presetValues.set({});
|
||||
this.status.set({ state: 'idle' });
|
||||
this.canceled.emit();
|
||||
}
|
||||
|
||||
private toLocalInputValue(d: string | Date): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue