[Form] set file field as multipart
This commit is contained in:
parent
7bd76610ca
commit
4237fdd918
@ -24,4 +24,12 @@ class FileField extends InputField
|
|||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
), $attributes));
|
), $attributes));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
|
public function isMultipart()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user