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

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

no value storage of multiple datetpicker #38

Closed sairamdevarashetty closed 7 years ago

sairamdevarashetty commented 8 years ago

unable to store date picker as array , here is an example of schema which I am trying to implement , but when I click on addon/removeoff button the value is changed back to empty, var schema=new SimpleSchema({ 'certification':{ type: [Object], optional: true, label: "certification", }, 'certification.$.expiredDate':{ type: Date, label: "Certification Renewal Date", optional:true, autoform: { afFieldInput: { type: "bootstrap-datepicker", placeholder:"Certification Date Expired", class:"certification-date-expired" } } } })

aldeed commented 7 years ago

Closing old issues. Might be fixed in next release.