When promptTextCreator of Creatable returns only the user-entered label, you can't select the newly entered value on first Enter keypress, only the second one will trigger changes.
From what I managed to debug, this is due to the new entry being pushed into options prop somewhere along the way, and then failing the uniqueness check.
Minimal reproduction: https://github.com/tmikoss/react-select-creatable-bug-repro/blob/master/src/index.js (repo root is runnable, built by create-react-app).
Faced the same issue.
+1 on this one
yeah, the issue is a pretty annoying one
For what it's worth, I'm using (label) => `${label} ` as a workaround - looks the same to end-user, just makes for some weird code.
Fixed by #2140
Most helpful comment
Fixed by #2140