Macro Dropdown select i18 & normal (#87)
Macro Dropdown select i18 & normal (#87)

* Macro Dropdown select i18 & normal

Macro drop down select field.

How to use:

{!! Form::i18nDropDown($name, ‘$title, $errors, $lang, $choise,
$object, $options]) !!}

Which give for instance

{!! Form::i18nDropDown(‘test’, ‘test’, $errors, $lang, ['1,2,3],
$object) !!}

Or for multiple select:

{!! Form::i18nDropDown(‘test’, ‘test’, $errors, $lang, ['1,2,3],
$object, ['multiple' => 'multiple', 'class' => 'select-multiple']) !!}

Same for normalDropDown

{!! Form::normalDropDown(‘test’, ‘test’, $errors, [‘1,2,3],$object) !!}

Or for multiple select:

{!! Form::normalDropDown(‘test’, ‘test’, $errors, ['1,2,3], $object,
['multiple' => 'multiple', 'class' => 'select-multiple']) !!}

Don’t know if normalDropDown or normalSelect was the better name, what
do you think ?

* Remove commented code

mikemand/Core,mikemand/Core,oimken/Core,mikemand/Core,oimken/Core,oimken/Core