Autoform and select dropdown population from subscription

When using autoform, how can I populate my select dropdown list with the data from my subscription? I’ve got the right data already subscribed and I know how I’d populate that list without autoform, but with it I don’t know.

According to the [demo][1]:

{{#autoForm id="types2" schema=typesSchema2}}
   {{> afFormGroup name="typeTest" type="select" options=optionsHelper}}
   <div class="form-group">
   <button type="submit" class="btn btn-primary">Submit</button>
   </div>
{{/autoForm}}

All you need to do is pass the optionsHelper after your subscription.
[1]: http://autoform.meteor.com/types

1 Like

Thanks, I don’t know why I didn’t notice that. :grinning: