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

Custom "bootstrap-datepicker" input type for AutoForm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

datePickerOptions as a function in schema

polygonwood opened this issue · comments

I would be handy to be able to define the datePickerOptions as a function in a schema, which is executed at the moment the autoform is created (and not at creation time of the schema only)

I found a way around with a tracker modifying the schema definition (in my case to set the locale of the user to the language option of the date picker), but that's a cumbersome (and hard to understand afterwards) method