|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Where a Choice's options come from (x-optionsAction and its companions). More...
#include <field_model.hpp>
Public Member Functions | |
| bool | operator== (ChoiceSpec const &other) const =default |
| Member-wise equality. | |
Public Attributes | |
| std::string | optionsAction |
| The action whose result rows are the options. | |
| std::string | valueField = "id" |
| The row member submitted as the value (x-optionValue). | |
| std::string | labelField = "name" |
| The row member shown (x-optionLabel). | |
| std::vector< std::string > | dependsOn |
| Sibling wire names whose values parameterise the options request (x-optionsDependsOn). | |
Where a Choice's options come from (x-optionsAction and its companions).
Definition at line 143 of file field_model.hpp.
|
default |
Member-wise equality.
| other | The other descriptor. |
| std::string morph::forms::ChoiceSpec::optionsAction |
The action whose result rows are the options.
Definition at line 145 of file field_model.hpp.
| std::string morph::forms::ChoiceSpec::valueField = "id" |
The row member submitted as the value (x-optionValue).
Definition at line 147 of file field_model.hpp.
| std::string morph::forms::ChoiceSpec::labelField = "name" |
The row member shown (x-optionLabel).
Definition at line 149 of file field_model.hpp.
| std::vector<std::string> morph::forms::ChoiceSpec::dependsOn |
Sibling wire names whose values parameterise the options request (x-optionsDependsOn).
Definition at line 151 of file field_model.hpp.