diff --git a/code/frameworks/angular/template/components/form.component.ts b/code/frameworks/angular/template/components/form.component.ts index 272e79eebf7f..0d7316454a51 100644 --- a/code/frameworks/angular/template/components/form.component.ts +++ b/code/frameworks/angular/template/components/form.component.ts @@ -1,36 +1,39 @@ -import { Component, Output, EventEmitter } from '@angular/core'; +import { Component, output, signal } from '@angular/core'; +import { FormsModule } from '@angular/forms'; @Component({ - standalone: false, + standalone: true, + imports: [FormsModule], selector: 'storybook-form', template: ` -
`, }) export default class FormComponent { /** Optional success handler */ - @Output() - onSuccess = new EventEmitter