If you look @ the documentation you'll see that the second parameter is the label.
CaporalDead said:
If you look @ the documentation you'll see that the second parameter is the label.
Thanks for replying. I looked at the documentation very closely. The second parameter is not the label, it's the default value of the form element being created.
{{ Form::text('first_name', null, ['class' => 'someclass']) }}
shekarsiri said:
{{ Form::text('first_name', null, ['class' => 'someclass']) }}
That was very helpful. Thank you for sharing the solution with us shekarsiri I wish the Laravel docs were more comprehensive. Seems to be missing chunks of info esp in the api documentation.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community