Answer:61#1449
Conversation
| private readonly _initialData: UserData = { | ||
| name: '', | ||
| lastname: '', | ||
| age: NaN, |
There was a problem hiding this comment.
i need to update the project, so null will be allowed 😅
There was a problem hiding this comment.
ok. In addition, if y update the angular to 21.2, the form submittion logic can be implemented in a declarative way using the formRoot directive.
|
@tsironis13 if you rebase your branch and run pnpm i --frozen-lockfile, you will be on angular 21.2.2 so you'll be able to use the latest improvement 🚀 |
@tomalaforge thanks Thomas! code updated. |
| action: async () => { | ||
| if (this.userForm().valid()) { | ||
| this.setSubmittedData(); | ||
| } |
|
This pull request is stale because it has been open for 15 days with no activity. |
|
This pull request was closed because it has been inactive for 5 days since being marked as stale. |
No description provided.