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

Fix #11806: FileUpload switch error to dev warning #11816

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

melloware
Copy link
Member

Fix #11806: FileUpload switch error to dev warning

@melloware melloware added the enhancement Additional functionality to current component label Apr 25, 2024
@tandraschko
Copy link
Member

We can so remove the "return" to not break something

@melloware
Copy link
Member Author

OK I removed the return; and I also short circuit the isDisabled check rather than having the nested IF.

@melloware melloware merged commit 100b04a into primefaces:master Apr 26, 2024
12 checks passed
@melloware melloware deleted the PF11806 branch April 26, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additional functionality to current component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileUpload: Decoding FileUpload requires contentType "multipart/form-data"
2 participants