Sha256: c90bb2c34f90ea3861ff4750b2a21323b5279ac52a313584caa987300307f5c6
Contents?: true
Size: 555 Bytes
Versions: 2
Compression:
Stored size: 555 Bytes
Contents
# frozen_string_literal: true module Yattho module Forms module Dsl # :nodoc: class TextAreaInput < Input attr_reader :name, :label def initialize(name:, label:, **system_arguments) @name = name @label = label super(**system_arguments) end def to_component TextArea.new(input: self) end def type :text_area end # :nocov: def focusable? true end # :nocov: end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | lib/yattho/forms/dsl/text_area_input.rb |
yattho_view_components-0.0.1 | lib/yattho/forms/dsl/text_area_input.rb |