import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { observer } from 'mobx-react'; import { Field } from 'mobx-react-form'; import classnames from 'classnames'; export default @observer class Select extends Component { static propTypes = { field: PropTypes.instanceOf(Field).isRequired, className: PropTypes.string, showLabel: PropTypes.bool, disabled: PropTypes.bool, }; static defaultProps = { className: null, showLabel: true, disabled: false, }; render() { const { field, className, showLabel, disabled, } = this.props; console.log('disabled', disabled); return (