onBlur(event) {
		if (this.props.onBlur) {
			this.props.onBlur();
		}
		const { value, previousValue } = this.state;

		if (value !== previousValue) {
			let newValue = value;
			if (!this.props.multiSection && this.state.suggestions && value) {
				const hasMatchingSuggestion = this.state.suggestions.find(
					item => !item.disabled && item.name.toLowerCase() === value.toLowerCase(),
				);

				if (hasMatchingSuggestion) {
					newValue = hasMatchingSuggestion;
				}
			}

			this.updateValue(event, newValue, true);
		}
	}
/**
	 * Persist the value (if not already persisted) and remove the suggestions on blur event
	 * @param event The blur event
	 */
Persist the value (if not already persisted) and remove the suggestions on blur event
@param event The blur event
Persist the value ( if not already persisted ) and remove the suggestions on blur event @param event The blur event
onBlur(event) {
		if (this.props.onBlur) {
			this.props.onBlur();
		}
		const { value, previousValue } = this.state;
		if (value !== previousValue) {
			let newValue = value;
			if (!this.props.multiSection && this.state.suggestions && value) {
				const hasMatchingSuggestion = this.state.suggestions.find(
					item => !item.disabled && item.name.toLowerCase() === value.toLowerCase(),
				);
				if (hasMatchingSuggestion) {
					newValue = hasMatchingSuggestion;
				}
			}
			this.updateValue(event, newValue, true);
		}
	}
onBlur ( event ) { if ( this . props . onBlur ) { this . props . onBlur ( ) ; } const { value , previousValue } = this . state ; if ( value !== previousValue ) { let newValue = value ; if ( ! this . props . multiSection && this . state . suggestions && value ) { const hasMatchingSuggestion = this . state . suggestions . find ( item => ! item . disabled && item . name . toLowerCase ( ) === value . toLowerCase ( ) , ) ; if ( hasMatchingSuggestion ) { newValue = hasMatchingSuggestion ; } } this . updateValue ( event , newValue , true ) ; } }
Persist the value (if not already persisted) and remove the suggestions on blur event
 @param event The blur event
Persist the value ( if not already persisted ) and remove the suggestions on blur event @param event The blur event