Type of selective field with dynamic addition of elements.
NOTE: For simulate relationship Many-to-One.
NOTE: Elements are added via the ModelName.unit_manager(unit) method.
NOTE: How to use, see example.
Instance methods
choices
Html tag: select.
NOTE: Example: [{5, "Title"}, {10, "Title 2"}]
Sourcechoices?
Html tag: select.
NOTE: Example: [{5, "Title"}, {10, "Title 2"}]
Sourcechoices_from_json(json :
String) :
Nil Add data for dynamic fields from the local @@meta cache.
Sourcefield_type
Field type - Structure Name.
Sourcegroup
To optimize field traversal in the paladins/check() method.
WARNING: It is recommended not to change.
Sourcehas_value?
Does the field value match the possible options in choices.
Sourcemultiple?
Specifies that multiple options can be selected at once.
Sourcereadonly=(readonly :
Bool)
Specifies that the field cannot be modified by the user.
Sourcereadonly?
Specifies that the field cannot be modified by the user.
Sourcerefrash_val_i64(val :
Int64) :
Nil For the DynFork::QPaladins::Tools#refrash_fields method.
Sourcevalue
Sets the value of an element.
Sourcevalue=(value :
Int64 |
Nil)
Sets the value of an element.
Sourcevalue?
Sets the value of an element.
Source