Skip to content
docsv0.1.0

SelectComponent

Single-select form primitive with server-rendered options and persistent local state — normalizes an `options` prop (array or JSON-encoded string, list or map) into {@see meta()}.

SelectComponent::contract()

public static function contract(): Milpa\Live\ValueObjects\ComponentContract

This field's runtime contract (`value` state, `options` prop, four field actions).