chore: run prettier on files in control-value-accessor folder

This commit is contained in:
Pascal Küsgen
2023-12-18 15:02:32 +01:00
parent 6e30725aa0
commit f36b67b607
4 changed files with 12 additions and 13 deletions

View File

@@ -5,8 +5,9 @@ import { FeedbackFormComponent } from './feedback-form/feedback-form.component';
standalone: true,
imports: [FeedbackFormComponent],
selector: 'app-root',
template: `<app-feedback-form
(feedBackSubmit)="apiCall($event)"></app-feedback-form>`,
template: `
<app-feedback-form (feedBackSubmit)="apiCall($event)"></app-feedback-form>
`,
})
export class AppComponent {
apiCall(event: Record<string, string | null>): void {

View File

@@ -13,7 +13,7 @@
[formControl]="feedbackForm.controls.email"
placeholder="Email"
type="email" />
<app-rating-control (ratingUpdated)="rating = $event"> </app-rating-control>
<app-rating-control (ratingUpdated)="rating = $event"></app-rating-control>
<textarea
class="feedback-form-control"
[formControl]="feedbackForm.controls.comment"

View File

@@ -1,10 +1,10 @@
import { EventEmitter } from '@angular/core';
import { Output } from '@angular/core';
import { Component } from '@angular/core';
import { Validators } from '@angular/forms';
import { FormControl } from '@angular/forms';
import { FormGroup } from '@angular/forms';
import { ReactiveFormsModule } from '@angular/forms';
import { Component, EventEmitter, Output } from '@angular/core';
import {
FormControl,
FormGroup,
ReactiveFormsModule,
Validators,
} from '@angular/forms';
import { RatingControlComponent } from '../rating-control/rating-control.component';
@Component({

View File

@@ -1,6 +1,4 @@
import { EventEmitter } from '@angular/core';
import { Output } from '@angular/core';
import { Component } from '@angular/core';
import { Component, EventEmitter, Output } from '@angular/core';
@Component({
standalone: true,