ModalTrigger: Uncaught TypeError: невозможно прочитать свойство toUpperCase неопределенного

Обновление: я обнаружил, что ModalTrigger устарел: 1b1af04 [изменено] устарело

Сейчас я расследую это.

У меня проблемы с реакцией-бутстрап ModalTrigger. Следующее использование работает, но после обновления до
"react-bootstrap": "^0.25.1",
"react": "^0.13.3",

Я получаю следующую ошибку: Uncaught TypeError: Не удается прочитать свойство toUpperCase неопределенного

Ты знаешь почему?

export default class Test extends React.Component {

    constructor(props) {    
      super(props);
      this.close = this.close.bind(this);
    }

  close(){
    this.setState({ showModal: false });
  }

    render() {

      var mymodal = ( 
        <Modal show={true} onHide={this.close}>
          <Modal.Header closeButton>
            <Modal.Title>Modal heading</Modal.Title>
          </Modal.Header>
          <Modal.Body>
            <h4>Text</h4>
          </Modal.Body>
          <Modal.Footer>
            <Button onClick={this.close}>Close</Button>
          </Modal.Footer>
        </Modal>
      )

        return (
        <Table striped bordered condensed hover>
          <thead>
            <tr>
              <th>
                <ModalTrigger key='modalinput' modal={mymodal}>

                  <Button style={buttonStyle}>
                    <span className="glyphicon glyphicon-plus" aria-hidden="true"></span>
                  </Button>

                </ModalTrigger>
              </th>
              <th>X</th>
              <th>Y</th>
            </tr>
          </thead>
          <tbody>


          </tbody>
        </Table>
        );

    } // Render

  }; // Component

person Chris G.    schedule 03.09.2015    source источник
comment
Вы проверили документы по обновлению для react-bootstrap, чтобы увидеть, изменили ли они способ работы модального окна? Я считаю, что ошибка относится к попытке создать реагирующий компонент, но ссылка не определена (т.е. модальная).   -  person BradByte    schedule 03.09.2015
comment
Я только что сделал :-) Обновил вопрос   -  person Chris G.    schedule 03.09.2015