Skip to content

Commit

Permalink
[fix] 統合されたpropsから属性値を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
TkymHrt committed Nov 20, 2023
1 parent 6fec28d commit 2d6851e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ const OpenAddModal: FC<ModalProps> = (props) => {
className='w-full'
value={formData.price}
onChange={handler('price')}
datalist={DONATION_AMOUNT}
listKey='amoutOptions'
enableDatalist={true}
datalist={{
key: "amoutOptions",
data: DONATION_AMOUNT,
}}
/>
</div>
<p className='col-span-1 text-black-600'>備考</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ export default function EditModal(props: ModalProps) {
className='w-full'
value={formData.price}
onChange={handler('price')}
datalist={DONATION_AMOUNT}
listKey='amoutOptions'
enableDatalist={true}
datalist={{
key: "amoutOptions",
data: DONATION_AMOUNT,
}}
/>
</div>
<p className='col-span-1 text-black-600'>備考</p>
Expand Down

0 comments on commit 2d6851e

Please sign in to comment.