Cannot get newly created option to auto select #5286
Unanswered
bradherman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement the
AsyncCreateableSelect
where I load all data via my API and create the new option via the API... After create, I want the select to have the newly created option selected but I can't seem to figure it out... I tried usinguseState
to cache the newly created options and merge that into the API response, but to no availBeta Was this translation helpful? Give feedback.
All reactions