Skip to content

Commit

Permalink
fix-fe: 공고 생성 버그 수정 (#414)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeongwoo Park <[email protected]>
  • Loading branch information
github-actions[bot] and lurgi authored Aug 13, 2024
1 parent e685bb8 commit 01edeed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/recruitment/CheckBoxField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export default function CheckBoxField({ choices, setChoices }: Props) {
}, [choices.length]);

const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>, index: number) => {
if (e.nativeEvent.isComposing) return;

if ((e.key === 'Tab' || e.key === 'Enter') && !e.shiftKey) {
e.preventDefault();
if (index === choices.length - 1) {
Expand Down

0 comments on commit 01edeed

Please sign in to comment.