Skip to content

Commit

Permalink
hotfix: 희망직무 키다운 엔터 조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
leeminhee119 committed Dec 1, 2023
1 parent b93ad83 commit c089d32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ const BasicInfoForm = ({
spellCheck="false"
defaultValue={position ?? null}
onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => {
event.preventDefault();
if (event.key === 'Enter') {
event.preventDefault();
}
}}
/>
</FormControl>
Expand Down

0 comments on commit c089d32

Please sign in to comment.