From d5a178b1b36c2e295fc65dc7e6d89c963c1ab9f0 Mon Sep 17 00:00:00 2001 From: KikyoNanakusa Date: Sat, 24 Feb 2024 06:35:43 +0900 Subject: [PATCH] =?UTF-8?q?fix:=E3=83=90=E3=82=B9=E5=90=8D=E3=81=AE?= =?UTF-8?q?=E9=95=B7=E3=81=95=E3=81=AE=E3=83=90=E3=83=AA=E3=83=87=E3=83=BC?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bus_edit_page/bus_edit_page.dart | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/frontend/where_child_bus/lib/pages/bus_list_page/bus_edit_page/bus_edit_page.dart b/frontend/where_child_bus/lib/pages/bus_list_page/bus_edit_page/bus_edit_page.dart index 205f80e8..cd4ead24 100644 --- a/frontend/where_child_bus/lib/pages/bus_list_page/bus_edit_page/bus_edit_page.dart +++ b/frontend/where_child_bus/lib/pages/bus_list_page/bus_edit_page/bus_edit_page.dart @@ -64,19 +64,22 @@ class _BusEditPageState extends State { _createBusError = CreateBusError.fieldsNotFilled; }); return true; - //Note 今のところ保護者が選択されていなくても作成できる - // } else if (CreateBusValidator.validateGuardians( - // morningSelectedGuardiansId, eveningSelectedGuardiansId)) { - // setState(() { - // _createBusError = CreateBusError.noGuardiansSelected; - // }); - // return true; - } else if (CreateBusValidator.validateNameLength(_busNameController.text)) { - setState(() { - _createBusError = CreateBusError.nameTooLong; - }); - return true; } + //Note 今のところ保護者が選択されていなくても作成できる + // } else if (CreateBusValidator.validateGuardians( + // morningSelectedGuardiansId, eveningSelectedGuardiansId)) { + // setState(() { + // _createBusError = CreateBusError.noGuardiansSelected; + // }); + // return true; + + //Todo 将来的に修正する + // } else if (CreateBusValidator.validateNameLength(_busNameController.text)) { + // setState(() { + // _createBusError = CreateBusError.nameTooLong; + // }); + // return true; + // } return false; }