Skip to content
Corex

FieldState

Corex\Config\Settings\FieldState · class · Config layer

How one Settings field is drawn (spec 119): what its control shows, the stored value Discard puts back, where its value is locked when it is, and whether a secret has a stored value.

__construct(string $shown, string $saved, ?SettingLock $lock, bool $secretSaved)

Section titled “__construct(string $shown, string $saved, ?SettingLock $lock, bool $secretSaved)”

A field that shows what is stored, as an option page draws every field.

The same field showing what was typed into it and refused, so it can be put right.