erizocosmico / react-categorized-tag-input

React.js component for making tag autocompletion inputs with categorized results.
http://erizocosmico.github.io/react-categorized-tag-input/
MIT License
78 stars 18 forks source link

Cannot read property 'bool' of undefined #24

Open blacksmoke26 opened 5 years ago

blacksmoke26 commented 5 years ago

Source:

import React from "react";
import ReactDOM from "react-dom";
import TagInput from 'react-categorized-tag-input';

import "./styles.css";

function App() {
  return (
    <div className="App">
      <TagInput addNew={false}/>
    </div>
  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);
TypeError
Cannot read property 'bool' of undefined
Object.eval
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:1057
t
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:495
Object.eval
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:9613
t
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:495
Object.eval
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:3101
t
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:495
Object.eval
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:726
t
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:495
eval
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:582
eval
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:587
eval
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:181
evaluate
https://xjw6ywqyz.codesandbox.io/node_modules/react-categorized-tag-input/categorized-tag-input.js:1:365

https://codesandbox.io/s/xjw6ywqyz