Closed Guillar1 closed 2 years ago
We are facing the same issue, and need a fix ASAP.
This is fixed and released in 1.41.0 but you'll need to make sure to memoize your options. We are still investigating if it's possible to avoid the infinite loop without memoizing.
Describe the bug (actual behavior)
Externally changing the controlled value of the ComboBox is not respected or an infinite loop occurs.
Reproduction
https://codesandbox.io/s/itwinui-react-example-forked-v8pllg?file=/src/App.tsx