abstract struct DynFork::Fields::Field
  
  - DynFork::Fields::Field
 - Struct
 - Value
 - Object
 
Overview
An abstract structure with common fields for all field types.
Included Modules
- JSON::Serializable
 
Direct Known Subclasses
- DynFork::Fields::BoolField
 - DynFork::Fields::ChoiceF64DynField
 - DynFork::Fields::ChoiceF64Field
 - DynFork::Fields::ChoiceF64MultDynField
 - DynFork::Fields::ChoiceF64MultField
 - DynFork::Fields::ChoiceI64DynField
 - DynFork::Fields::ChoiceI64Field
 - DynFork::Fields::ChoiceI64MultDynField
 - DynFork::Fields::ChoiceI64MultField
 - DynFork::Fields::ChoiceTextDynField
 - DynFork::Fields::ChoiceTextField
 - DynFork::Fields::ChoiceTextMultDynField
 - DynFork::Fields::ChoiceTextMultField
 - DynFork::Fields::ColorField
 - DynFork::Fields::DateField
 - DynFork::Fields::DateTimeField
 - DynFork::Fields::EmailField
 - DynFork::Fields::F64Field
 - DynFork::Fields::FileField
 - DynFork::Fields::HashField
 - DynFork::Fields::I64Field
 - DynFork::Fields::ImageField
 - DynFork::Fields::IPField
 - DynFork::Fields::PasswordField
 - DynFork::Fields::PhoneField
 - DynFork::Fields::SlugField
 - DynFork::Fields::TextField
 - DynFork::Fields::URLField
 
Defined in:
dynfork/fields/field.crConstructors
Instance Method Summary
- #choices_from_json(json : String) : Nil
 - 
        #disabled=(disabled : Bool)
        
          
Blocks access and modification of the element.
 - 
        #disabled? : Bool
        
          
Blocks access and modification of the element.
 - 
        #errors : Array(String)
        
          
WARNING The value is determined automatically.
 - 
        #errors=(errors : Array(String))
        
          
WARNING The value is determined automatically.
 - 
        #field_type : String
        
          
Field type - Structure Name.
 - #group : UInt8
 - 
        #hide=(hide : Bool)
        
          
Hide field from user.
 - 
        #hide? : Bool
        
          
Hide field from user.
 - 
        #hint : String
        
          
Additional explanation for the user.
 - 
        #id : String
        
          
Format: "ModelName--field-name" WARNING: The value is determined automatically.
 - 
        #id=(id : String)
        
          
Format: "ModelName--field-name" WARNING: The value is determined automatically.
 - 
        #ignored? : Bool
        
          
If true, the value of this field is not saved in the database.
 - 
        #label : String
        
          
Text label for a web form field.
 - 
        #name : String
        
          
Field name.
 - 
        #name=(name : String)
        
          
Field name.
 - #slug_sources : Array(String)
 - 
        #warning : String
        
          
Warning information.
 - 
        #warning=(warning : String)
        
          
Warning information.
 
Constructor Detail
Instance Method Detail
        
        def id=(id : String)
        #
      
      
        Format: "ModelName--field-name"
WARNING The value is determined automatically.