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
Setting a new value through Formik helpers for AutocompleteField doesn't work as expected when sendOptionValue is set to false. In this case, the value correctly changes in the end, but gets set incorrectly before that by setting the value as if the sendOptionValue prop is disabled. This behaviour should be consistent in its results when changing the value in order to correctly track the field values.
Expected behavior
The value doesn't change inconsistently and is always set as the sendOptionValue prop states. This way tracking the change of the field can be done correctly, without unexpected results.
Actual behavior
The value changes inconsistently when changing it through Formik helpers with sendOptionValue prop disabled.
The text was updated successfully, but these errors were encountered:
fbeceic
changed the title
Setting a value through Formik helpers in Autocomplete is inconsistent
Setting a value through Formik helpers in AutocompleteField is inconsistent
May 3, 2023
Basic information
Bug description
Setting a new value through Formik helpers for
AutocompleteField
doesn't work as expected when sendOptionValue is set tofalse
. In this case, the value correctly changes in the end, but gets set incorrectly before that by setting the value as if the sendOptionValue prop is disabled. This behaviour should be consistent in its results when changing the value in order to correctly track the field values.Expected behavior
The value doesn't change inconsistently and is always set as the sendOptionValue prop states. This way tracking the change of the field can be done correctly, without unexpected results.
Actual behavior
The value changes inconsistently when changing it through Formik helpers with sendOptionValue prop disabled.
The text was updated successfully, but these errors were encountered: