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

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

0

@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!!

Tyvm

0

Sign in to participate in this thread!

LoadForge

Your banner here too?

stalker stalker Joined 5 Apr 2016

Moderators

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 Laravel.io - All rights reserved.