@ -154,12 +154,16 @@ export class CreateGroupDialog extends React.Component<Props, State> {
private onGroupNameChanged(event: any) {
event.persist();
this.setState(state => {
return {
...state,
groupName: event.target.value,
};
});
console.log(event);
// this.setState(state => {
// return {
// ...state,
// groupName: event.target.value,
// };
// }, () => console.log(this.state.groupName));
}
private onKeyUp(event: any) {
@ -42,6 +42,7 @@ export class SessionClosableOverlay extends React.Component<Props, State> {
this.inputRef = React.createRef();
this.onGroupNameChanged = this.onGroupNameChanged.bind(this);