GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Signal Forms: [formField] should require nullable types on numeric and date inputs · Issue #72230 · angular/angular In review In review Copy link Milestone DescriptionDescriptionCurrently, Because the check is covariant, non-nullable fields such as @Component({ imports: [FormField], template: ` <input type="date" [formField]="f" /> <input type="number" [formField]="f2" /> `, }) export class App { f = form(signal(new Date())); f2 = form(signal(3)); } However, at runtime (
This violates type soundness by writing Proposed solutionUse the same invariant structural union check in
(Note: Activity
MetadataMetadataAssigneesTypeProjects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |