MCPcopy Index your code
hub / github.com/angular/angular / compatForm

Function compatForm

packages/forms/signals/compat/src/api/compat_form.ts:128–134  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

126): FieldTree<TModel>;
127
128export function compatForm<TModel>(...args: any[]): FieldTree<TModel> {
129 const [model, maybeSchema, maybeOptions] = normalizeFormArgs<TModel>(args);
130
131 const options = {...maybeOptions, adapter: new CompatFieldAdapter()};
132 const schema = maybeSchema || ((() => {}) as SchemaOrSchemaFn<TModel, PathKind>);
133 return form(model, schema, options);
134}

Callers 7

constructorMethod · 0.90
TestCmpClass · 0.90
TestCmpClass · 0.90
AppClass · 0.90
AppClass · 0.90
compat.spec.tsFile · 0.85

Calls 2

normalizeFormArgsFunction · 0.90
formFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…