Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Even that Nette\Forms\Helpers::exportRules() generates rule for client-side mime type verification, it is not implemented in netteForms.js.
Nette\Forms\Helpers::exportRules()
netteForms.js
$form->addUpload('image')->addRule(Form::MIME_TYPE, 'jen jpg', 'image/jpeg')
<input n:name="image">
The text was updated successfully, but these errors were encountered:
Related #172 and b48d57d#diff-31d0814231016345eaa29e9607fc0c15
Sorry, something went wrong.
306d429
No branches or pull requests
Description
Even that
Nette\Forms\Helpers::exportRules()
generates rule for client-side mime type verification, it is not implemented innetteForms.js
.Steps To Reproduce
$form->addUpload('image')->addRule(Form::MIME_TYPE, 'jen jpg', 'image/jpeg')
<input n:name="image">
The text was updated successfully, but these errors were encountered: