Questions tagged as 'laravel-collective'

1
answer

Creating dateTime field with laravel collective

I am creating a field using Laravel Collective but I am having problems with the date field, first I am not able to create the DATATIME field and another problem is that it is coming from the bank, how can I solve these two problems ? {...
asked by 10.09.2016 / 18:41
1
answer

Call to undefined method Illuminate \ Database \ Query \ Builder :: lists ()

I have a problem creating a list of types for my project, for some reason in others Controller worked perfectly but unfortunately not at this time. I'm doing the create method of my Controller public function create()...
asked by 29.09.2016 / 01:48
1
answer

how do I mount a select with two fields using colletivehtml in laravel 5.5?

Good afternoon. I use laravel 5.5 and for forms I use laravelcollective. I mount a select this way: $locals = Local::get()->pluck('codigolocal', 'id'); and the result is a select with value = id and description equal to the...
asked by 06.12.2018 / 15:37
1
answer

Use the laravel diff in two collections

I'm trying to fetch items that are not in a particular product. I have, therefore, a model Produto , each product has several items, and another model Item . I'm trying to use Laravel's collections , more specifically the d...
asked by 11.12.2017 / 01:56
1
answer

Form in Laravel 5.4?

I'm having a hard time trying to create a form in Laravel 5.4, at the time of loading View the following error appears:    "ErrorException in helpers.php line 532: htmlspecialchars () expects parameter 1 to be string, array give...
asked by 19.05.2017 / 21:41
1
answer

Problems with {!! Form :: model () !!}

I have a form where I make the inclusion in the page create.blade.php and the edit.blade.php More when I go to fix the element does not appear the tag <form></form> More when I remove the @include ('dashboard.usuario.formul...
asked by 15.08.2017 / 03:50
1
answer

Problems with form using PHP with Laravel

Next I developed a site using laravel I am programming a form but it has no action I have already finished it does not work when I click send, it does not only do reload on the page and does not appear even the errors even if I f...
asked by 18.05.2017 / 20:30
1
answer

Select Laravel Collective does not select value

I'm trying to retrieve the value set in the database and it gets selected in the edit form. The value 2 is reaching the form but I'm not getting it selected. {!! Form::label('cupUnic', 'Único?') !!} {!! Form::select('cupUnic', ['' => 'Selec...
asked by 12.05.2017 / 02:46
0
answers

Form does not work with laravel

Talk the following guys, I have a problem submitting a form on this site . I am not able to send an error that I do not know what is following part of my codes with error% error%: Controller: <?php namespace App\Http\Controllers; use...
asked by 14.10.2016 / 16:30