mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
17 lines
516 B
React
17 lines
516 B
React
![]() |
import React from 'react';
|
||
|
import { intlShape } from 'meteor/vulcan:i18n';
|
||
|
import { Select } from 'formsy-react-components';
|
||
|
import { registerComponent } from 'meteor/vulcan:core';
|
||
|
|
||
|
const SelectMultipleComponent = ({refFunction, inputProperties, ...properties}, { intl }) => {
|
||
|
inputProperties.multiple = true;
|
||
|
|
||
|
return <Select {...inputProperties} ref={refFunction}/>
|
||
|
};
|
||
|
|
||
|
SelectMultipleComponent.contextTypes = {
|
||
|
intl: intlShape,
|
||
|
};
|
||
|
|
||
|
registerComponent('FormComponentSelectMultiple', SelectMultipleComponent);
|