Skip to content
New issue

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

i need to upload fies, but it doesn't support dataform.... #256

Open
JieChang opened this issue Oct 25, 2016 · 1 comment
Open

i need to upload fies, but it doesn't support dataform.... #256

JieChang opened this issue Oct 25, 2016 · 1 comment

Comments

@JieChang
Copy link

i need to upload fies, but it doesn't support dataform....
ajax({
api: this.props.uploadUrl,
method: 'post',
formData: form
}

@blizzardengle
Copy link

This is related to #264 Please see Issue 264 about why this is correct functionality; you should not be able to submit files because XMLHttpRequest does not support it. Jquery Ajax does this using FormData or an iFrame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants