public render()

in src/MultiValueControl.tsx [39:58]


    public render() {
        const {focused} = this.state;

        return <div className={`multi-value-control ${focused ? "focused" : ""}`}>
            <TagPicker
                className="tag-picker"
                selectedItems={(this.props.selected || []).map((t) => ({ key: t, name: t }))}
                inputProps={{
                    placeholder: this.props.placeholder,
                    readOnly: this.props.readOnly,
                    width: this.props.width || 200,
                    onFocus: () => this.setState({ focused: true }),
                }}
                onChange={this._onTagsChanged}
                onResolveSuggestions={() => []}
                />
            {focused ? this._getOptions() : null}
            <div className="error">{this.props.error}</div>
        </div>;
    }