Class: Uistiti::Alpha::FormInputGroup

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/uistiti/alpha/form_input_group.rb

Instance Method Summary collapse

Constructor Details

#initialize(form:, type:, field:, label:, required: false, direction: :column) ⇒ FormInputGroup

Returns a new instance of FormInputGroup.



6
7
8
9
10
11
12
13
14
15
# File 'app/components/uistiti/alpha/form_input_group.rb', line 6

def initialize(form:, type:, field: ,label: , required: false, direction: :column)
  super()
  
  @form = form 
  @type = type
  @field = field
  @label= label
  @required = required       
  @direction = direction        
end