Skip to content

Commit

Permalink
Merge pull request #665 from NUTFes/feat/hikahana/651-add-validation-…
Browse files Browse the repository at this point in the history
…purcahse-report

購入報告の追加モーダルにバリデーションを付けた(物品名が空白の時のみ)
  • Loading branch information
Kubosaka authored Dec 12, 2023
2 parents 7307a06 + 22d1d34 commit ef26497
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export default function PurchaseReportAddModal(props: ModalProps) {
}
isFinanceCheckHandler(formDataList[activeStep - 1].id, true);
}}
disabled={formDataList[activeStep - 1].item.trim() === ''}
>
<div className='flex'>
{activeStep === steps.length
Expand Down

0 comments on commit ef26497

Please sign in to comment.