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
|
|
|
|
2017-08-19 10:41:08 +09:00
|
|
|
import './components.js';
|
|
|
|
|
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
|
2017-10-01 11:49:19 +09:00
|
|
|
'hidden',
|
2017-03-16 01:25:08 +08:00
|
|
|
'beforeComponent',
|
2017-03-27 10:53:44 +09:00
|
|
|
'afterComponent',
|
|
|
|
'placeholder',
|
2017-12-28 11:31:55 +09:00
|
|
|
'options',
|
|
|
|
'query',
|
|
|
|
'fieldProperties',
|
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-09-29 09:19:23 +09:00
|
|
|
export {default as FormWrapper} from '../components/FormWrapper.jsx';
|