struct

DynFork::Fields::I64Field

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

Field for entering integer 64-bit numbers.

Constructors

new(label : String = "", default : Int64 | Nil = nil, input_type : String | Nil = "number", placeholder : String = "", max : Int64 | Nil = Int64::MAX, min : Int64 | Nil = Int64::MIN, step : Int64 | Nil = 1, hide : Bool = false, unique : Bool = false, required : Bool = false, disabled : Bool = false, readonly : 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_i64

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

Source
extract_val_i64

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="number|range".

Source
input_type?

Html tag: input type="number|range".

Source
max

Maximum allowed number.

Source
max?

Maximum allowed number.

Source
min

Minimum allowed number.

Source
min?

Minimum allowed number.

Source
placeholder

Displays prompt text.

Source
readonly=(readonly : Bool)

Specifies that the field cannot be modified by the user.

Source
readonly?

Specifies that the field cannot be modified by the user.

Source
refrash_val_i64(val : Int64) : Nil

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

Source
required?

Required field.

Source
step

Increment step for numeric fields.

Source
step?

Increment step for numeric fields.

Source
unique?

The unique value of a field in a collection.

Source
value

Sets the value of an element.

Source
value=(value : Int64 | Nil)

Sets the value of an element.

Source
value?

Sets the value of an element.

Source