-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
file upload function not work #733
Comments
Can you provide your code? |
Thanks @ckosloski maybe you have provided a hint for me, here is my code:
I use "input file" with "Editable row" and expected to upload in a bulk with other data when I click "Submit" button. Can "input file" works with "Editable row"? Thanks! |
Looks like you are missing what to actually do when you submit. |
I have modified the editable-form example and created file upload field |
Looks like you need to add on another directive to support it since angular models and the file input don't work together naturally. https://stackoverflow.com/questions/17063000/ng-model-for-input-type-file-with-directive-demo I haven't used the file upload with xeditable, but in a different angularjs project I used the |
So that means angular xeditable not supports , it should be removed on demo page to avoid misleading. |
It is supported. It is displaying it like other elements. You just need to add a directive of your choosing to get it to work the way you want. |
So, how should it work? |
After chosen a file to upload and press "tick", the field become empty.
The behavior can be seen under section "HTML5 inputs - demo" on demo page http://vitalets.github.io/angular-xeditable/,
The text was updated successfully, but these errors were encountered: