-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
請求書の編集機能の追加 #869
請求書の編集機能の追加 #869
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
正しく請求書の発行ができました!
値段のフォームだけ問題ありそうだったのでコメントしています。
value={invoiceSponsorStyle.price} | ||
onChange={(e) => { | ||
onChangeSponsorStyle( | ||
{ ...invoiceSponsorStyle, price: Number(e.target.value) }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
値段に誤って全角文字を入力すると、NaN表示になり修正が不可能になる問題があります。
{ ...invoiceSponsorStyle, price: Number(e.target.value) }, | |
{ | |
...invoiceSponsorStyle, | |
price: isNaN(Number(e.target.value)) | |
? invoiceSponsorStyle.price | |
: Number(e.target.value), | |
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます。
修正しました。
全角の対応
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolve #868
概要
画面スクリーンショット等
URL
テスト項目
備考