react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Omit className "Select-create-option-placeholder" from object

Open cal0610 opened this issue 8 years ago • 2 comments

Greetings, I'm passing in the Creatable component as a custom component to from React-redux-form. When I submit the form the object looks like this:

object:
{
  "id": "315315135",
  "login": "315315135",
  "className": "Select-create-option-placeholder"
}

This object will be sent to the backend, ideally I would like to omit className.

My question is:

  1. What is the purpose of className here?
  2. Is there any way to omit that property?

Thanks,

cal0610 avatar Mar 16 '18 00:03 cal0610

any solutions?

kkseven07 avatar Jun 18 '18 18:06 kkseven07

Please don't file GitHub issues to ask questions. Use Stack Overflow with a #react-select tag

jossmac avatar Jul 05 '18 08:07 jossmac