Skip to content

Signal Forms: Can't submitting a form that has already returns a submission error #67882

@baptistemoreau14

Description

@baptistemoreau14

Which @angular/* package(s) are the source of the bug?

forms

Is this a regression?

No

Description

Currently if a form has already return a submission error (here with the recent submission action), the form is stuck in an invalid state until a value of a field has been changed.

It can be important for some UX case, that a user can submit again a form where the first submission attempt has resulted in an error (timeout, offline, ...) and where no data has changed

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/vsbu7e1k-e7p7kh4t?file=src%2Fmain.ts

Please provide the exception or error you saw


Please provide the environment you discovered this bug in (run ng version)

Angular CLI       : 21.2.3
Angular           : 21.2.5
Node.js           : 22.22.0
Package Manager   : npm 10.8.2
Operating System  : linux x64

┌───────────────────────────┬───────────────────┬───────────────────┐
│ Package                   │ Installed Version │ Requested Version │
├───────────────────────────┼───────────────────┼───────────────────┤
│ @angular/animations       │ 21.2.5            │ ^21.2.0-next      │
│ @angular/build            │ 21.2.3            │ 21.2.3            │
│ @angular/cdk              │ 21.2.3            │ ^21.2.3           │
│ @angular/cli              │ 21.2.3            │ 21.2.3            │
│ @angular/common           │ 21.2.5            │ 21.2.5            │
│ @angular/compiler         │ 21.2.5            │ 21.2.5            │
│ @angular/compiler-cli     │ 21.2.5            │ 21.2.5            │
│ @angular/core             │ 21.2.5            │ 21.2.5            │
│ @angular/forms            │ 21.2.5            │ 21.2.5            │
│ @angular/material         │ 21.2.3            │ ^21.2.0-next      │
│ @angular/platform-browser │ 21.2.5            │ 21.2.5            │
│ rxjs                      │ 7.8.2             │ ~7.8.0            │
│ typescript                │ 5.9.3             │ ~5.9.2            │
│ zone.js                   │ 0.16.1            │ ~0.16.1           │
└───────────────────────────┴───────────────────┴───────────────────┘

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions