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

The parameters for the text () method is (name, value, options array) so you just need to set ngmodel in the options array.

Form::text ('name', null, ['ng-model' => 'modelName']);
Last updated 1 year ago.
0

Thanks pickupman :)

Last updated 1 year ago.
0

how will add only one variable

<input type="text" no-validation />

how will add the no-validation in {!! Form:input('text','','', array('class'=>'form-control','no-validation' ))!!}

will just input this way <input type="text" "no-validation"="no-validation" /> not what I expected. Please help

expected output: <input type="text" no-validation />

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Reached reached Joined 27 Feb 2014

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.