I think this is a simple question. I'm using simple schema and I want to have a minDate and maxDate. The documentation talks about it in validation section but I'm not sure how to define it in the schema itself. Any help would be great. Thanks
Path: Schema.js
startDate: {
type: Date,
optional: true,
autoform: {
type: "bootstrap-datepicker"
}
},
endDate: {
type: Date,
optional: true,
autoform: {
type: "bootstrap-datepicker"
}
}