diff --git a/src/components/editorElements/tagArea/view/tagAreaView.js b/src/components/editorElements/tagArea/view/tagAreaView.js index 31b376b0c..7dcc76b7d 100644 --- a/src/components/editorElements/tagArea/view/tagAreaView.js +++ b/src/components/editorElements/tagArea/view/tagAreaView.js @@ -38,7 +38,8 @@ export default class TagAreaView extends Component { // Component Functions _handleOnChange = (text, i) => { - this.setState({ currentText: text.replace(/\s/g, '') }); + this.setState({ currentText: text.replace(/\s/g, '').toLowerCase() }); + if (text.indexOf(' ') > 0 && text) { this._handleTagAdded(); }