Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Opal::FormModule::FormField
Inherits
Reference
<
Object
Abstract base class for all interactive fields in a multi-field Form.
Constructors
new
(name :
String
, label :
String
)
Source
Instance methods
error
Source
error=
(error :
String
|
Nil
)
Source
focused=
(focused :
Bool
)
Source
focused?
Source
handle_key
(key :
Terminal::Key
) :
Bool
Source
label
Source
name
Source
raw_value
Source
render
(buffer :
UI::Buffer
, x :
Int32
, y :
Int32
, width :
Int32
) :
Int32
Source
value_as_s
Source