You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mostly a question on the rationale for Creatable mutating the options prop when a new tag is added, but a onNewOptionClick is not defined. Currently on the examples site the options from state are directly mutated which seems like a bad idea.
Mostly a question on the rationale for Creatable mutating the options prop when a new tag is added, but a
onNewOptionClick
is not defined. Currently on the examples site the options from state are directly mutated which seems like a bad idea.The code below from Creatable (https://github.com/JedWatson/react-select/blob/master/src/Creatable.js#L95) shows the mutation:
Was this intentional or was it for those using things like MobX?
The text was updated successfully, but these errors were encountered: