Skip to content

Commit

Permalink
fix: removed readonly handler from getmenuprops
Browse files Browse the repository at this point in the history
  • Loading branch information
Gururajj77 committed Sep 26, 2024
1 parent e83f5e7 commit d78bdb5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/react/src/components/ComboBox/ComboBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -891,13 +891,6 @@ const ComboBox = forwardRef(
toggleMenu();
}
}
if (readOnly) {
// Prevent default behavior for all keys except Tab when readOnly
if (event.key !== 'Tab') {
event.preventDefault();
}
return;
}
},
})}
{...rest}
Expand Down

0 comments on commit d78bdb5

Please sign in to comment.