values={input.value}
onChange={this.handleChange}
handleFocus={input.onFocus}
- handleBlur={this.handleBlur}
createNewValue={identity}
inputComponent={Input}
chipsClassName={classes.chips}
input.onChange(values);
}
- handleBlur = (e: React.FocusEvent<HTMLInputElement>) => {
- const { input } = this.props;
- if (!input.value?.length) {
- input.onBlur(e);
- }
- }
}
);