struct

DynFork::Fields::BoolField

Inherits DynFork::Fields::Field < JSON::Serializable < Struct < Value < Object

Boolean field.

Constructors

new(label : String = "", default : Bool | Nil = false, hide : Bool = false, disabled : Bool = false, ignored : Bool = false, hint : String = "", warning : Array(String) = Array(String).new)
Source

Instance methods

default

Value by default.

Source
default?

Value by default.

Source
extract_default_bool

For the DynFork::QPaladins::Check#check method.

Source
extract_val_bool

For the DynFork::QPaladins::Check#check method.

Source
field_type

Field type - Structure Name.

Source
group

To optimize field traversal in the paladins/check() method. WARNING: It is recommended not to change.

Source
input_type

Html tag: input type="checkbox".

Source
input_type?

Html tag: input type="checkbox".

Source
refrash_val_bool(val : Bool)

For the DynFork::QPaladins::Tools#refrash_fields method.

Source
value

Sets the value of an element.

Source
value=(value : Bool | Nil)

Sets the value of an element.

Source
value?

Sets the value of an element.

Source