so suppose in blade template have 1000+ items in multi-select so:
< select multiple='multiple' > @foreach($manyitems $item) < option value= $item > $item </ option > @endforeach </ select > where in example, suppose $manyitems has 2000+ items. now, suppose inputs blade template collected , processed in laravel controller. when try select of items, , more, reason selects first 1000 items, , can't hold more data (it drops other 1000+ items, , other fields selected). seems laravel blade template can pass in 1000 items in request::all(). true? (or derping around?) welp me. weird bug alert.
also disabled of javascript verify it's not javascript/jquery causing this.
this not laravel issue, php engine related.
php 5.3.9 introduced max_input_vars config option, defaulted value of 1000.
how many input variables may accepted (limit applied $_get, $_post , $_cookie superglobal separately). use of directive mitigates possibility of denial of service attacks use hash collisions. if there more input variables specified directive, e_warning issued, , further input variables truncated request.
you can change value updating server's php.ini or adding in .htaccess file.
Comments
Post a Comment