DataTable: On click at dropdown option in a cell editor doesn't set the value for the datatable cell - Keypress works #5122
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Describe the bug
Using the mouse to select an option from the dropdown doesn't set the value in the "Country" column of the datatable. But, using the keyboard ("tab" ,"enter" ), said value is updated at the datatable with cell editor.
Reproducer
https://codesandbox.io/s/elastic-yalow-hdlfzx?file=/src/App.tsx
PrimeReact version
10.0.5
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Screen sample of the behavior
Expected behavior
Country cell must be updated to the country selected on the dropdown. Like press the DOWN key then TAB is working.
The text was updated successfully, but these errors were encountered: