DynFork::Fields::ChoiceF64Field
Inherits DynFork::Fields::Field < JSON::Serializable < Struct < Value < Object
Type of selective field with static of elements. NOTE: With a single choice. NOTE: How to use, see example.
Constructors
new(pull : JSON::PullParser)
Sourcenew(label : String = "", default : Float64 | Nil = nil, hide : Bool = false, required : Bool = false, disabled : Bool = false, readonly : Bool = false, ignored : Bool = false, hint : String = "", warning : Array(String) = Array(String).new, choices : Array(Tuple(Float64, String)) | Nil = Array(Tuple(Float64, String)).new)
SourceInstance methods
group
To optimize field traversal in the paladins/check() method.
WARNING: It is recommended not to change.