Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Wrong data field onSubmit react-select #330

Open
brunoJSX opened this issue Dec 1, 2020 · 1 comment
Open

Wrong data field onSubmit react-select #330

brunoJSX opened this issue Dec 1, 2020 · 1 comment

Comments

@brunoJSX
Copy link

brunoJSX commented Dec 1, 2020

Description of bug

I need submit Form on onBlur event of the field, but on react-select not working correctly. When I click on select field value is empty, but on second click is filled with previous value. See the gif bellow for information.

To Reproduce

Problem simulation gif

Screenshots

Select implementation
Select implementation continuos
Select usage

@brunoJSX brunoJSX changed the title Wrong field data onSubmit react-select Wrong data field onSubmit react-select Dec 1, 2020
@carlosallexandre
Copy link

Hello @brunoJSX,

I made an example on codesandbox (check here) and it's working.

Check and let me updated if it works or not to look another solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants