ukrbublik / react-awesome-query-builder

User-friendly query builder for React
https://ukrbublik.github.io/react-awesome-query-builder
MIT License
1.97k stars 494 forks source link

MultiSelect field lose all valid selected values when hit validation #667

Closed dameerror closed 2 years ago

dameerror commented 2 years ago

I'm running this version "react-awesome-query-builder": "4.10.0" at the moment

In my field settings i have a list of values ( fieldSettings.listValues ) that has 1 of the values that does not exist in the list of previously saved values , this is intentional.

When hitting the validation it correctly shows that there is a value that does not exist in the list [RAQB validate] Field Country: Value Afghanistan is not in list of values

but when there is an error in the validation, the entire selection of valid values is lost from multiselect even the valid values.

is this something intentional? or Is it a bug that was resolved in later versions?

ukrbublik commented 2 years ago

@dameerror Did you manage to solve this issue?

dameerror commented 2 years ago

no, didn't solve this issue , i opened the same issue with my personal account , you have any idea what can be this problem?