Comments (16)
Have not yet updated this pkg for 5.0. Can probably remove that line and do var formId = AutoForm.getFormId()
.
from meteor-cfs-autoform.
Is there an ETA for the update??
from meteor-cfs-autoform.
I have the same problem. No Uploads anymore.
from meteor-cfs-autoform.
+1 on an update to 5.0
from meteor-cfs-autoform.
I still need to coordinate with @aldeed on the official release, but I've been working on an enhanced 5.0 version. It's not ready for prime time yet, but it could use some beta testing to work through uses cases, etc.. I'm sure there are use cases that I have not considered. If you're interested in testing it, the repo is here (Eventually, it should be pushed back into this repo.) Sorry, but I have not updated the docs, but they should be pretty close.
You can also check out the testing app for some more information and for use as an example. You'll have to test it as if you are developing a package because I don't want to publish it officially in atmosphere yet. This is really beta (or alpha) right now. In other words, expect quirky behavior at times.
As a teaser, the new version supports asynchronous uploads or "on submit" uploads, as well as thumbnails for images, dedicated thumbnail stores (in mongo). Individual files can be removed or added for collections of files (using cvs-files) too.
from meteor-cfs-autoform.
Feedback: I've tested @dpankros package in our local, test and UAT environments and it performed well for each of our uses.
from meteor-cfs-autoform.
@dpankros does your fork support uploading multiple files? ( issue #20)
from meteor-cfs-autoform.
@dpankros Is it possible to implement a progress bar with your fork?
from meteor-cfs-autoform.
@theduke It should. I have done this in the testing app and it works, but I have not compared with the current release of cfs-autoform to see if the behavior is different.
from meteor-cfs-autoform.
@mdebus Yes, that should be possible. Currently, text will appear when uploading showing percent complete. When it completes, the text disappears. This should be able to be swapped out for a progress bar. To be honest, I looked at this for a few minutes and decided to focus on functionality over design right now. I won't be spending time on adding a progress bar until after it is officially released, however.
from meteor-cfs-autoform.
@careerlister Great. Thanks for the feedback.
from meteor-cfs-autoform.
@dpankros In your new package, Cancel of the file picker after it has already been used (input control has a file name) triggers a change event with no files. Easy to repro. Upload a file. Relaunch the file picker but cancel the dialog. A change event is raised and CfsAutoForm.singleHandler does not deal with it well (infinite loop trying to process a file that is not there). I put a simple guard in
if(files.length === 0)
return
and it seems fine. I couldn't get multiple files to work (type="cfs-files' didn't work) so I didn't test .multipleHandler, though I suspect it has the same problem.
Thanks for your work ... its really needed!
from meteor-cfs-autoform.
@stocksp Interesting. The quick form version of an insert form doesn't have a cancel button and so I never tried it as I was using a quick form in my testing app. You must be using an autoform, right? I'll try to put in a fix in this weekend, if I have time.
On another note, it wasn't my intent to hijack this thread, though it seems that was the net-effect. (Sorry, @aldeed) For other comments about my fork, bugs, etc, please comment directly on my forked repo. I don't want to create more noise here than is necessary and I want to keep the discussion on track, if possible. If bugs need to be recreated after a merge (i.e. bugs submitted on my fork that may be applicable after a merge back to this repo), then I'll recreate them at that time (probably not with a full message history, however). Thanks!
from meteor-cfs-autoform.
@dpankros I don't see an 'issues' button in your forked repro or I would have posted there. Yes, my template uses the autoform html found in the sample. When I say cancel button, I'm talking about the file picker dialog the browser puts up ... which always has I cancel button.
from meteor-cfs-autoform.
@stocksp I didn't realize that was an option I had to turn on. You should be able to report issues directly now. Sorry about that. facepalm
from meteor-cfs-autoform.
Original issue should be fixed in 2.1.2 release.
from meteor-cfs-autoform.
Related Issues (20)
- How do you add a before insert hook on this?
- Update for deeply nested cfs-file's broken HOT 2
- cfs-files (the multi version) does not work HOT 2
- Customize the ui "field" for multiple files
- this.template is undefined when before hook is a function HOT 1
- Exception in delivering result of invoking 'myServerMethod': Error: [[object Object]]
- file upload not working in IOS simulator
- Before hooks not work
- CfsAutoForm.Hooks.beforeInsert() is called, but after my Meteor.call() to save the form HOT 3
- Not a valid enum value HOT 1
- Error on the exemple code
- File Validation
- How to add an image preview to the update page? HOT 1
- how to display images of a array?
- Validation bug
- How to restrict file type?
- AutoForm 6.0 support. HOT 2
- How to subscribe cfs-files
- Incompatiple when adding cfs:autoform
- update form!!!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-cfs-autoform.