Sha256: 304b50e5ed8f7badf774573007198c4a510b946d16e7cf953b6b2170a62c06da

Contents?: true

Size: 458 Bytes

Versions: 25

Compression:

Stored size: 458 Bytes

Contents

<%= render component_tag(x: {data: "seamlessTextarea", options: "options"}) do %>
  <%= text_area_tag(nil, value,
      id: nil,
      placeholder: placeholder,
      spellcheck: false,
      rows: 1,
      **x_attrs({
        "@keydown.enter.prevent": (true unless multiline?),
        "@input": "onResize",
        ref: "textarea",
        "model.fill.debounce": "value",
        "dimensions": "onResize"
      }),
      **@textarea_args
    ) %>
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/utilities/seamless_textarea/seamless_textarea.html.erb
coveragebook_components-0.15.0 app/components/coco/utilities/seamless_textarea/seamless_textarea.html.erb
coveragebook_components-0.14.0 app/components/coco/utilities/seamless_textarea/seamless_textarea.html.erb
coveragebook_components-0.13.1 app/components/coco/utilities/seamless_textarea/seamless_textarea.html.erb
coveragebook_components-0.13.0 app/components/coco/utilities/seamless_textarea/seamless_textarea.html.erb