Skip to content

Should be able to manipulate a field based on the value of one or more other fields within a form #3

@toddjordan

Description

@toddjordan

Often, fields have dependencies on each other, so that when one field is updated, a function gets run that can manipulate the other. Dynamic forms should allow implementers to provide a function that handles these interactions.

Conventions

interactions should live in forms/interactions/* and implement a function that has access to both the field(s) that were changed and the value of the field that that originated the change.

Examples

  • Displaying a Total as you add transactions to a form.
  • Disabling a field when a checkbox is checked.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions