Skip to content

Commit

Permalink
feat :: 성적 및 근무시간 형식 맞추기
Browse files Browse the repository at this point in the history
성적 및 근무시간 형식 맞추기
  • Loading branch information
phyuna0525 authored Oct 21, 2024
2 parents 5072f04 + 9a8b13b commit 8e18cc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Components/Detail/RecruitmentFormDetail/Edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,16 @@ export function RecruitmentFormDetailEdit({
style={{ paddingRight: '50px' }}
value={required_grade!}
name="required_grade"
onInput={(e) => {
const value = Number(
e.currentTarget.value
);
if (value < 0) {
e.currentTarget.value = '0';
} else if (value > 100) {
e.currentTarget.value = '100';
}
}}
onChange={recruitmentFormDetailInfohandler}
/>
<_.AbsoluteText right={50}>%</_.AbsoluteText>
Expand Down

0 comments on commit 8e18cc2

Please sign in to comment.