state

command
v0.0.0-...-0f1ffb3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Command state shows the four outcomes of one headless text-field API: local state, an exact caller binding, normalization, and rejection.

A field with no Value owns its answer. Giving it an Accessor makes the caller's value authoritative; the same editing operations then write through that seam. Accessor.Set may accept, normalize, or reject an edit, and Accessor.Value reports which outcome actually became state. No second controlled-widget API is involved.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL