Open demiantriebl opened 8 years ago
i have my code
archivito: { type: String, autoform: { type: 'fileUpload', collection: 'images', previewTemplate: 'myFilePreview', accept: 'image/*', uploadProgressTemplate: 'progress' } },
and in blaze
<template name="myFilePreview"> epa!!! <a href="{{images.url}}">{{images.original.name}}</a> {{> afFieldInput name='Artista' class='Artista' placeholder='Artista'}} {{> afFieldInput name='webArtista' class='webArtista' placeholder='Web del Artista'}} </template>
the file is uploaded good, and i see the preview, but is the default preview, and i need the insert another field on the database only after of the file is uploaded, do you any clue to solve this?
i have my code
and in blaze
the file is uploaded good, and i see the preview, but is the default preview, and i need the insert another field on the database only after of the file is uploaded, do you any clue to solve this?