class Ariadne::Form::TextField::Component
end
end
example_form.text_field(attributes)
form do |example_form|
class ExampleForm < ApplicationForm
@form_usage
Text fields are inputs rendered as either ‘<input type=“text”>` ot `<textarea>` in HTML.
def focusable?
def focusable? true end
def input? = !text_area?
def input? = !text_area?
def text_area? = type == :text_area
def text_area? = type == :text_area