🐛(react) fix controlled searchable select

Changing the controlled value was setting triggering immediately an
onChange event with undefined value. This was due to the fact that when
the controlled value was changed SelectMonoAux was searching only in
options displayed, where it should in reality be searching accross all
options.

fixes #162
This commit is contained in:
Nathan Vasse
2023-09-15 11:00:44 +02:00
committed by NathanVss
parent 4616ad9ffb
commit fd988c03e1
6 changed files with 53 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": patch
---
fix controlled searchable select triggering onChange undefined