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

The onAdd callback throws JS-error on FileUpload #4875

Closed
mertsincan opened this issue Jun 10, 2019 · 0 comments
Closed

The onAdd callback throws JS-error on FileUpload #4875

mertsincan opened this issue Jun 10, 2019 · 0 comments
Assignees
Labels
6.2.21 7.0.4 🐞 defect Bug...Something isn't working
Milestone

Comments

@mertsincan
Copy link
Member

Reported By PRO User;

the onAdd attribute throws a js-error.

ExampleCode (modified from Showcase)

<p:fileUpload fileUploadListener="#{fileUploadView.handleFileUpload}" mode="advanced" dragDropSupport="false"
      onAdd="console.info('test');" multiple="true" sizeLimit="100000" fileLimit="3"
      allowTypes="/(\.|\/)(gif|jpe?g|png)$/" />
@mertsincan mertsincan added 🐞 defect Bug...Something isn't working 6.2.21 7.0.4 labels Jun 10, 2019
@mertsincan mertsincan added this to the 7.1 milestone Jun 10, 2019
@mertsincan mertsincan self-assigned this Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.2.21 7.0.4 🐞 defect Bug...Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant