instance method textarea

Ruby on Rails 8.0.4

Since v8.0.4

Available in: v8.0.4 v8.1.2

Signature

textarea(method, options = {})

Wraps ActionView::Helpers::FormHelper#textarea for form builders:

<%= form_with model: @user do |f| %>
  <%= f.textarea :detail %>
<% end %>

Please refer to the documentation of the base helper for details.

Source
# File actionview/lib/action_view/helpers/form_helper.rb, line 1831
      

Defined in actionview/lib/action_view/helpers/form_helper.rb line 1831 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Helpers::FormBuilder

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close