Angular · Senior · Question 62 of 75

What are Signal Forms in recent Angular versions?

model = signal({ email: '', password: '' });
loginForm = form(this.model, (p) => {
  required(p.email);
  email(p.email);
});

Explanation

Field state (value, valid, touched, errors) is exposed as signals. As an experimental API it may change, so weigh that before adopting it widely.

Further reading

Problem with a question

Angular · Senior · question 62

Test yourself

Take the Angular · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz