mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-02 11:15:35 +03:00
commit
c395ec373d
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user