You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Current behavior
Selecting an option with null value results in error.
Expected behavior
Selecting an option with null value should work fine (it even already works with undefined).
Minimal reproduction of the problem with instructions
Open codesandbox, select "Null" in the MultiSelect.
Please tell us about your environment:
React version:
PrimeReact version:
4.2.2
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]
The text was updated successfully, but these errors were encountered:
Actually it doesn't work right with undefined as well. onChange e.value supplies the option object itself instead of option.value (=== undefined). Maybe that's fine, but null should probably be supported.
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/romantic-poincare-s7lik
Current behavior
Selecting an option with null value results in error.
Expected behavior
Selecting an option with null value should work fine (it even already works with undefined).
Minimal reproduction of the problem with instructions
Open codesandbox, select "Null" in the MultiSelect.
Please tell us about your environment:
PrimeReact version:
4.2.2
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
The text was updated successfully, but these errors were encountered: