Project

General

Profile

Actions

Cleanup #62339

open

Cleanup #61641: mgr/dashboard: update to angular 14

mgr/dashboard: Make the reactive forms type-safe

Added by Nizamudeen A 9 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
General
Target version:
-
% Done:

0%

Tags:
Backport:
reef
Reviewed:
Affected Versions:
Pull request ID:

Description

From angular 14, the reactive forms have become type-safe or more type strict. So whatever formControls or formBuilders which is not typed properly is moved to UntypedFormControl or UntypedFormBuilder class. There are a lot of them in the dashboard which can be tracker from this commit: https://github.com/ceph/ceph/pull/51979/commits/45d91ba1f89f4774a0fbfc682f58f7f6b36322bf This needs to be properly typed across the UI.

Read more: https://blog.angular-university.io/angular-typed-forms/

No data to display

Actions

Also available in: Atom PDF