2017-03-16 01:25:08 +08:00
|
|
|
import SimpleSchema from 'simpl-schema';
|
2017-03-23 16:27:59 +09:00
|
|
|
import { registerComponent } from 'meteor/vulcan:core';
|
2016-11-26 02:46:55 +08:00
|
|
|
|
2016-06-14 16:36:05 +09:00
|
|
|
if (typeof SimpleSchema !== "undefined") {
|
2017-03-16 01:25:08 +08:00
|
|
|
SimpleSchema.extendOptions([
|
|
|
|
'control', // SmartForm control (String or React component)
|
|
|
|
'order', // order in the form
|
|
|
|
'group', // form fieldset group
|
|
|
|
'beforeComponent',
|
2017-03-27 10:53:44 +09:00
|
|
|
'afterComponent',
|
|
|
|
'placeholder',
|
2017-03-16 01:25:08 +08:00
|
|
|
]);
|
2016-06-14 16:36:05 +09:00
|
|
|
}
|
2016-04-01 20:57:37 +09:00
|
|
|
|
2017-01-18 15:11:31 +01:00
|
|
|
import FormWrapper from './FormWrapper.jsx';
|
|
|
|
export default FormWrapper;
|