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

{!! Form::text(name, value, options) !!} 

{!! Form::text('name_departament',' ', ['class'=>'form-control']) !!}

0

As you can see in ABDELRHMAN's comment, the second parameter for Form::text() should be the actual value of the input you're creating. In your case, this can be either and empty string (''), or you can write it up like this:

{!! Form::text('name_departament', null, ['class'=>'form-control']) !!}

Hope that helped :-)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

njuarezgt njuarezgt Joined 2 Oct 2015

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.