Closed shkomg closed 9 years ago
Hi,
may you, pls, help we to set up the use of multidate:true within autoform?
multidate:true
I'm constantly getting only one date saved. Here is my code:
template: {{> afQuickField name="notAvailableDates" buttonClasses="glyphicon glyphicon-calendar" datePickerOptions=dateOptions}}
{{> afQuickField name="notAvailableDates" buttonClasses="glyphicon glyphicon-calendar" datePickerOptions=dateOptions}}
helper: dateOptions: function () { return {multidate: true, todayBtn: "linked", todayHighlight: true} }
dateOptions: function () { return {multidate: true, todayBtn: "linked", todayHighlight: true} }
schema: notAvailableDates: { type: String, optional:true, autoform: { afFieldInput: { type: "bootstrap-datepicker" } }, }
notAvailableDates: { type: String, optional:true, autoform: { afFieldInput: { type: "bootstrap-datepicker" } }, }
what's wrong?
Thank you.
I have this issue too. Have you solved it?
@erikmansson can't figure out now - my code looks like the same as above & everything is working.
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.