-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
#Image/file validation is not working.
Steps for recreating the issue.
=> Use any component of your plugin (i.e. genericForm)
=> just add a <input type="file">
field in a HTML form for image upload
=> add a required and image rule in component required|image
=> submit the form
it won't work
after digging a lot. I see that you have used post()
function inside the magicForm.php class for retrieving form data.
The post()
function won't accept image input and it is just there for accepting post input.
So to fix that I have created a PR. please accept it and add it to your new version.
Thanks
Metadata
Metadata
Assignees
Labels
No labels