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']);
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 />
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community