KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I tried applying the :maxlenght => 40 on a textarea on my form. But it didn't work out. Can we have a length limit on a textarea? The code for text area is <%= f.text_area :data, :rows => 2, :cols => 60 , :maxlength => 140, :autocomplete => :off, :class => "textareabytes" %>
Tags (comma-separated)
Save Edits
Cancel