Support the ongoing development of Laravel.io →
posted 9 years ago
Input
Last updated 1 year ago.
0

Sure - the second parameter is the attribute options. This assumes you don't have any CSS overriding the width.

So, you can do:

{{ Form::password('password', array('size'=>10, 'maxlength'=>20)) }}

See the API for more:

http://laravel.com/api/source-class-Illuminate.Html.FormBuilde...

Last updated 1 year ago.
0

Thank You!

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.