Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ui::PasswordConfig Struct Reference

Optional protected-editor customization; ordinary forms need only password(ref). More...

#include <ui_password_controls.hpp>

Public Attributes

PasswordOptions options {}
 Native editor policy; the scene supplies its Unicode width policy.
SizePolicy policy {DEFAULT_EDITOR_POLICY}
 Owning external layout constraints.
std::function< std::expected< PasswordValue, PasswordFailure >()> initial {}
 Checked owning provider, called once at mount.
std::function< std::expected< void, TreeError >(PasswordResult)> result {}
 Optional secret-free result observer.
std::shared_ptr< Clipboard > clipboard {}
 Service used only by explicit ENABLED paste policy.
std::function< bool(SecretView)> validate {}
 Synchronous scoped publication predicate; false retains the draft.

Detailed Description

Optional protected-editor customization; ordinary forms need only password(ref).


The documentation for this struct was generated from the following file: