dynamic-forms / Interface

ArrayPathInfo

Utilities for parsing and manipulating field paths in dynamic forms.

Field paths follow these formats:

  • Simple: "fieldName"
  • Nested: "parent.child.grandchild"
  • Array indexed: "items.0.quantity" or "items[0].quantity"
  • Array placeholder: "items.$.quantity" ($ = any index)

@module path-utils

Properties

NameTypeDescription
arrayPath
string

The array field path (e.g., "items" or "orders.lineItems")

isArrayPath
boolean

Whether this is a valid array path (contains .$. separator)

relativePath
string

The relative field path within the array item (e.g., "quantity" or "lineTotal")