Fixed file group accept type issue..

This commit is contained in:
Cüneyt Şentürk
2022-06-02 17:16:34 +03:00
parent 4c86ba6f07
commit ff351be76e
4 changed files with 50 additions and 30 deletions

View File

@ -21,6 +21,16 @@ class File 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.group.file');
}
}