Support the ongoing development of →
Configuration Blade Forms
Last updated 4 months ago.

A couple ideas,

Perhaps, a css style assigned to the form element

{{ Form::textarea('notes', null, ['class' => 'my-textarea-css']) }}

or you can also make your own config structure

// set in config or something
$rows = 2;
$cols = 5;

{{ Form::textarea('notes', null, ['rows' => $rows, 'cols' => $cols]) }}

(I think that is the right syntax, will need to test it to make sure this works)

Hope that helps


@TerrePorter - Thanks for this. I just whacked the value into the area like so:

{{ Form::textarea('notes', null, ['rows' => 10, 'cols' => 100]) }}

And it worked!!



Sign in to participate in this thread!


Your banner here too?

stalker stalker Joined 5 Apr 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.