React-select: promptTextCreator is missing in v2?

Created on 15 Aug 2018  路  3Comments  路  Source: JedWatson/react-select

Hi im migrating in v2

<Creatable
          isMulti={multi}
          options={options}
          onChange={this.onChange}
          value={multi ? multiValue : value}
          promptTextCreator={this.handleChangeCreateOptions}
          removeSelected={removeSelectedItem}
          placeholder={placeholder}
          ignoreCase={casing}
          className={wrapperClassName}
        />

seems like promptTextCreator is remove?

Most helpful comment

It's been changed to formatCreateLabel

All 3 comments

bump. nothing in docs to show you how to upgrade.

It's been changed to formatCreateLabel

Thanks @rhansen-carecloud!

Was this page helpful?
0 / 5 - 0 ratings