Laravel 4 and jQuery Select2: Old Input -
i'm trying pass old input select2 component, select2 doesn't pick up.
(note: i'm using twigbridge)
<select ... value="{{ input_old('fiscal_year_span') }}"> ... options ... </select>
the options have set value names, , laravel send old value back.
(i hope don't need js...)
it looks you're adding value
param select tag, vs selected
param option tag.
see here: https://developer.mozilla.org/en-us/docs/web/html/element/select
Comments
Post a Comment