const classNames = require('classnames'); const defaults = require('lodash.defaultsdeep'); const FRCSelect = require('formsy-react-components').Select; const PropTypes = require('prop-types'); const React = require('react'); const defaultValidationHOC = require('./validations.jsx').defaultValidationHOC; const inputHOC = require('./input-hoc.jsx'); require('./row.scss'); require('./select.scss'); const Select = props => { if (props.required && !props.value) { props = defaults({}, props, {value: props.options[0].value}); } return (