🐛(react) fix missing selected option of Select

In some cases, when the options were newly built object, due to the
fact that we were using object equality to check for the current selected
item, it was not working in those cases.
This commit is contained in:
Nathan Vasse
2024-02-05 11:43:10 +01:00
committed by NathanVss
parent 7649366006
commit a32bac75db
3 changed files with 71 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": patch
---
fix missing selected option of Select