散布実績: 名称未入力時のバリデーションエラーを追加
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -358,6 +358,10 @@ function SpreadingPageContent() {
|
||||
const handleSave = async () => {
|
||||
if (!form) return;
|
||||
setError(null);
|
||||
if (!form.name.trim()) {
|
||||
setError('名称を入力してください。');
|
||||
return;
|
||||
}
|
||||
if (!form.date) {
|
||||
setError('散布日を入力してください。');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user