Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

FormAddress

class FormAddress[Owner]

A stable, owner-scoped logical address used by validation and interaction state.

Unlike FormPath, an address is not a browser field name: it distinguishes keyed row identity from schema names and remains stable when rows are reordered. Owner prevents cross-root use; exact definition identity is carried separately by FormValues and Form.

Defined by scalive.FormAddress. View source (scalive/api/src/scalive/forms/FormAddress.scala:34-64)

Methods3

id

def id: String

An injective, ASCII-only DOM identity.

Defined by scalive.FormAddress.id. View source (scalive/api/src/scalive/forms/FormAddress.scala:39-44)

startsWith

def startsWith(prefix: FormAddress[Owner]): Boolean

Whether this address identifies prefix or one of its descendants.

Defined by scalive.FormAddress.startsWith. View source (scalive/api/src/scalive/forms/FormAddress.scala:47-48)

toString

def toString: String

Renders the address for diagnostics, as in profile/addresses/{home}/city: names as-is and row keys in braces.

Defined by scalive.FormAddress.toString. View source (scalive/api/src/scalive/forms/FormAddress.scala:59-63)