Meteor-Community-Packages / meteor-autoform-bs-datepicker

Custom "bootstrap-datepicker" input type for AutoForm
MIT License
25 stars 32 forks source link

set up multidate with Meteor autoform #29

Closed shkomg closed 9 years ago

shkomg commented 9 years ago

Hi,

may you, pls, help we to set up the use of multidate:true within autoform?

I'm constantly getting only one date saved. Here is my code:

template: {{> afQuickField name="notAvailableDates" buttonClasses="glyphicon glyphicon-calendar" datePickerOptions=dateOptions}}

helper: dateOptions: function () { return {multidate: true, todayBtn: "linked", todayHighlight: true} }

schema: notAvailableDates: { type: String, optional:true, autoform: { afFieldInput: { type: "bootstrap-datepicker" } }, }

what's wrong?

Thank you.

erikmansson commented 9 years ago

I have this issue too. Have you solved it?

shkomg commented 9 years ago

@erikmansson can't figure out now - my code looks like the same as above & everything is working.