Documentation

observeFormState()

Registers a two-way binding between a view property and a bound form state field.

observeFormState(
formState: Binding<FormState | undefined>,
formField: string,
property: string & keyof TView,
formChanged?: (formState: FormState) => unknown,
): void;

Parameters

Related