|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
#include <author.hpp>
Public Attributes | |
| AnyHandle | prefill |
| The values the form starts from. | |
| AnyHandle | key |
| The identity of the record prefill holds: a new value of the same key keeps the fields the user changed, a new key loads every field. Without one, only the first value keeps them. | |
| std::string | submit |
| How it submits, such as explicit. | |
| std::optional< ShowErrors > | showErrors |
| When its errors show. | |
| std::vector< FieldOverlay< Action > > | fields |
| The fields overlay. | |
| Commands | onSubmit |
| Commands run on submit. | |
| Commands | onSuccess |
| Commands run after a successful submit. | |
| Commands | onError |
| Commands run after a failed submit. | |
| FormPresentation | presentation {} |
| The title, button label, status line and columns. | |
Options of form.
| Action | The form's action. |
Definition at line 4240 of file author.hpp.
| AnyHandle morph::ui::author::FormOptions< Action >::prefill |
The values the form starts from.
Definition at line 4242 of file author.hpp.
| AnyHandle morph::ui::author::FormOptions< Action >::key |
The identity of the record prefill holds: a new value of the same key keeps the fields the user changed, a new key loads every field. Without one, only the first value keeps them.
Definition at line 4245 of file author.hpp.
| std::string morph::ui::author::FormOptions< Action >::submit |
How it submits, such as explicit.
Definition at line 4247 of file author.hpp.
| std::optional<ShowErrors> morph::ui::author::FormOptions< Action >::showErrors |
When its errors show.
Definition at line 4249 of file author.hpp.
| std::vector<FieldOverlay<Action> > morph::ui::author::FormOptions< Action >::fields |
The fields overlay.
Definition at line 4251 of file author.hpp.
| Commands morph::ui::author::FormOptions< Action >::onSubmit |
Commands run on submit.
Definition at line 4253 of file author.hpp.
| Commands morph::ui::author::FormOptions< Action >::onSuccess |
Commands run after a successful submit.
Definition at line 4255 of file author.hpp.
| Commands morph::ui::author::FormOptions< Action >::onError |
Commands run after a failed submit.
Definition at line 4257 of file author.hpp.
| FormPresentation morph::ui::author::FormOptions< Action >::presentation {} |
The title, button label, status line and columns.
Definition at line 4259 of file author.hpp.