php - Laravel textarea has white space and not showing value from db? - Stack Overflow

PHOTO EMBED

Mon Mar 28 2022 17:25:58 GMT+0000 (Coordinated Universal Time)

Saved by @oday

<!-- Textarea doesn't support the value attribute. To display the value in textarea you have to place the variable inside the opening and closing <textarea>value</textarea> tags. So use like this. -->





<textarea id="main" type="text" class="form-control" placeholder="Main Text" title="More main text"  name="main">{{ $entity->main }}</textarea>
content_copyCOPY

https://stackoverflow.com/questions/45359505/laravel-textarea-has-white-space-and-not-showing-value-from-db