Giter Club home page Giter Club logo

Comments (6)

aldeed avatar aldeed commented on July 3, 2024

It should work with {{> cfsFileField name="fileId" collection="files" multiple=true}}. But I haven't tested very thoroughly yet. I should have time to finish this package and test more in a week or so.

from meteor-cfs-autoform.

 avatar commented on July 3, 2024

That's what I have in there. I could have set the schema wrong as well. It works as type: String but that only gets one of the values. If I try an array of strings type: [String], it doesn't validate. I haven't used simple schema so it is possible that I'm doing it wrong. How should that be set up to hold multiple file ids?

from meteor-cfs-autoform.

aldeed avatar aldeed commented on July 3, 2024

Maybe I didn't actually get it working. I'll look into it next week or I'll accept a PR if you figure it out before then.

from meteor-cfs-autoform.

 avatar commented on July 3, 2024

I was pulled away for a bit but I think there may be another issue as well (not really tested) presented by my use case. I'm going to make a project based on the example here for testing. My current app has two different upload fields in one form and just quick debugging with that looks like that may not be handled as desired either. I'll be playing with this today.

from meteor-cfs-autoform.

aldeed avatar aldeed commented on July 3, 2024

Multiple files is fixed now, so far released only as 2.0.0-rc1 version. You can drop or select multiple files or single files one at a time and it's additive.

from meteor-cfs-autoform.

tarekw avatar tarekw commented on July 3, 2024

Hi, I'm trying to use this package to upload multiple image. Just tried the template you mentioned above but it seems to complain that there is no such template cfsFileField. My version is 2.2.1. Am trying to use the template inside an autoform.

from meteor-cfs-autoform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.