Fixed file group accept type issue..
This commit is contained in:
@ -15,6 +15,16 @@ class Ffile extends Form
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
if (! empty($this->options)) {
|
||||
$options = [];
|
||||
|
||||
foreach ($this->options as $option) {
|
||||
$options[$option->id] = $option->name;
|
||||
}
|
||||
|
||||
$this->options = $options;
|
||||
}
|
||||
|
||||
return view('components.form.input.file');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user