0

In my rails app I have a form where I use a text_area input. Unfortunately my placeholder is not being displayed. When i change text_area to text_field, it does work. I found these two threads but they did not solve it for me:

  1. How to insert placeholder text in text_area_tag in rails?
  2. Textarea Placeholder is not working

Here is my code:

= f.text_area :description, placeholder: 'text'
Sabrina
  • 309
  • 1
  • 14

1 Answers1

0

I found the solution and realized my bug was in a different file called "formbuilder" which modified this textarea.

Sabrina
  • 309
  • 1
  • 14