class Matestack::Ui::VueJs::Components::Form::Textarea

Public Instance Methods

component_id() click to toggle source
# File lib/matestack/ui/vue_js/components/form/textarea.rb, line 21
def component_id
  "textarea-component-for-#{key}"
end
response() click to toggle source
# File lib/matestack/ui/vue_js/components/form/textarea.rb, line 9
def response
  div class: 'matestack-ui-core-form-textarea' do
    label input_label, ":for": id if input_label
    textarea textarea_attributes
    render_errors
  end
end
textarea_attributes() click to toggle source
# File lib/matestack/ui/vue_js/components/form/textarea.rb, line 17
def textarea_attributes
  attributes
end
vue_props() click to toggle source
# File lib/matestack/ui/vue_js/components/form/textarea.rb, line 25
def vue_props
  {
    init_value: init_value,
    key: key
  }
end