Opal::FormModule::Form
Declarative multi-field form manager with real-time validation and keyboard navigation.
Constructors
Instance methods
active_field_idx
Sourcefields
Sourcefocus_next
Sourcefocus_prev
Sourcemulti_select(name : String, label : String, options : Array(String), selected : Array(String) = [] of String) : MultiSelectField
Sourcepassword(name : String, label : String, min_length : Int32 = 0, default : String = "", placeholder : String = "") : PasswordField
SourceInteractively displays and executes the form
select(name : String, label : String, options : Array(String), default_idx : Int32 = 0) : SelectField
Sourcetext(name : String, label : String, default : String = "", placeholder : String = "", required : Bool = false) : TextField
Sourcetitle
Sourceupdate_focus
Sourcevalid?
Sourcevalidators
Sourcevalues
Source