Skip to main content

SyncInputs

Controls which node states and constraints are synchronized to a bound control.

Import

import type { SyncInputs } from '@ngblocks/form-nodes';

When to use it

Use to configure synchronization on bindings or configured primitives. This chooses synchronized inputs; it does not change the underlying node's validation or state.

Declaration

type SyncInputs = false | 'declared' | 'all' | 'signal-controls' | readonly SyncInputName[] | {
inputs: 'declared' | 'all' | readonly SyncInputName[];
target?: 'all' | 'signal-controls' | 'cva' | undefined;
};