class
Velvet::MultiSelectField
- Velvet::MultiSelectField
- Velvet::Field
- Reference
- Object
Defined in:
velvet/schema.crConstructors
Instance Method Summary
Instance methods inherited from class Velvet::Field
condition : Hash(String, String) -> Bool | Nil
condition,
id : String
id,
label : String
label,
matches?(ctx : Hash(String, String)) : Bool
matches?,
required : Bool
required
Constructor methods inherited from class Velvet::Field
new(id : String, label : String, required : Bool = true, condition : Nil | Hash(String, String) -> Bool = nil)
new
Constructor Detail
def self.new(id, label, options : Array(String), defaults : Array(String) = [] of String, cast : Velvet::Cast = Cast::String, required = false, condition = nil)
#