Search code examples
reactjsreact-redux-form

Multiselect in Redux Form with Create new tag option


How do I use the Multiselect of React Widgets in Redux Form where I can allow the creation of new option as well which will be stored with redux form state. Redux form documentation do not have example with new tag creation option.


Solution

  • I got the solution, we need to make allowCreate={true} with onCreate={(name) => this.input.push(name)} both the attributes are necessary for the create tag option to appear.