Skip to content

Commit

Permalink
fix: 지출 내역 금액 부분에 문자가 입력되던 오류 수정 (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
Todari authored Aug 22, 2024
1 parent 805d792 commit 3964287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/StepList/BillStepItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const BillStepItem: React.FC<BillStepItemProps> = ({
<EditableItem.Input
placeholder="0"
type="number"
value={billInput.price || ''}
value={billInput.price ?? null}
onChange={e => handleChangeBillInput('price', e)}
style={{textAlign: 'right'}}
></EditableItem.Input>
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/CreateEventPage/SetEventPasswordPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const SetEventPasswordPage = () => {
labelText="비밀번호"
errorText={errorMessage}
value={password}
type="secret"
type="number"
maxLength={RULE.maxEventPasswordLength}
placeholder="비밀번호"
onChange={handleChange}
Expand Down

0 comments on commit 3964287

Please sign in to comment.