This forum has moved, please join us on github discussions. We will keep these old posts available for reference. Thank you!

Apostrophe 2.23.2 and 2.24.0: "object" schema field type, also passing options to pikaday via enhanceDate

Version 2.24.0 of Apostrophe has been released. This option adds an “object” schema field type, which works like the “array” schema field type, except that there is just one object, rather than an array. The object is represented as an object property of the doc, exactly as you would expect. Thanks to Michelin’s development team for contributing this feature.

Also, in version 2.23.2, a bug was fixed in the “apos.ui.enhanceDate” method. This method now passes its options object on to the pikaday plugin as intended.