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
I have a component that is using an AutoComplete in combination with AsyncItems, DefaultValue and Multiple Select.
To Reproduce
Steps to reproduce the behavior:
Create a component with at least one DefaultValue and AsyncItems.
Notice that the DefaultValue is not filled in.
When trying to find items and clicking them, we get an error in the console (Uncaught TypeError: Cannot read properties of undefined (reading 'value')) and the item is not selected.
Expected behavior
I expect the component to work properly...?
Note
For some reason, when using React.StrictMode, in development the issue doesn't show up... So we had to find out in production. Good times...
Tracking
I believe I have tracked down the issue to the following:
Describe the bug
I have a component that is using an AutoComplete in combination with AsyncItems, DefaultValue and Multiple Select.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the component to work properly...?
Note
For some reason, when using React.StrictMode, in development the issue doesn't show up... So we had to find out in production. Good times...
Tracking
I believe I have tracked down the issue to the following:
Source: https://react.dev/reference/react/Component#setstate
The text was updated successfully, but these errors were encountered: