react-two-way-querybuilder
react-two-way-querybuilder copied to clipboard
Loading the query, the select type is not updated
Dear Team,
I have a small scenario, I am using the tool with the Input type as "Select" for value selection. When I reload the query the values select is always showing the first value not the exact value from the query. Although select also contains the values that are in the query value.
e.g. In the Select input contains: [{name: 100, value: 100}, {name: 101, value: 101}] Query: '((leftValue >= 101 AND rightValue < 101) OR leftValue = 101)' but when I old the query all other things are fine, but values are always 100 although query contains 101.
Any idea?
Thanks in Advance