2016-11-26 02:46:55 +08:00
|
|
|
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
|
|
|
|
|
2016-06-14 16:36:05 +09:00
|
|
|
if (typeof SimpleSchema !== "undefined") {
|
|
|
|
SimpleSchema.extendOptions({
|
2016-12-20 09:27:16 +09:00
|
|
|
control: Match.Optional(Match.Any), // SmartForm control (String or React component)
|
2016-06-14 16:36:05 +09:00
|
|
|
order: Match.Optional(Number), // order in the form
|
|
|
|
group: Match.Optional(Object), // form fieldset group
|
2016-06-28 17:33:30 +09:00
|
|
|
beforeComponent: Match.Optional(Match.Any),
|
|
|
|
afterComponent: Match.Optional(Match.Any)
|
2016-06-14 16:36:05 +09:00
|
|
|
});
|
|
|
|
}
|
2016-04-01 20:57:37 +09:00
|
|
|
|
2016-11-26 11:17:43 +09:00
|
|
|
import FormWrapper from './FormWrapper.jsx'
|
|
|
|
export default FormWrapper;
|