Skip to content

Dependency Plugin

Automatically revalidates dependent fields when a primary field validates.

Options

OptionTypeDescription
[field]stringSpace-separated list of dependent field names to revalidate when field validates

Playground

Notes

  • Dependents are space-separated: { a: 'b c' } revalidates both b and c when a validates.
  • Built-in loop protection: if a depends on b and b depends on a, the chain stops after one full cycle.
  • Works with any event — combine with Trigger to trigger the cascade on change or input.

Released under the MIT License.