diff --git a/lib/pages/spaces_management/space_model/widgets/dialog/create_space_model_dialog.dart b/lib/pages/spaces_management/space_model/widgets/dialog/create_space_model_dialog.dart index 3afb0c6f..09374855 100644 --- a/lib/pages/spaces_management/space_model/widgets/dialog/create_space_model_dialog.dart +++ b/lib/pages/spaces_management/space_model/widgets/dialog/create_space_model_dialog.dart @@ -150,7 +150,7 @@ class CreateSpaceModelDialog extends StatelessWidget { products: products, subspaces: subspaces, allTags: allTags, - spaceNameController: spaceNameController, + spaceName: spaceNameController.text, pageContext: pageContext, otherSpaceModels: otherSpaceModels, allSpaceModels: allSpaceModels, diff --git a/lib/pages/spaces_management/space_model/widgets/tag_chips_display_widget.dart b/lib/pages/spaces_management/space_model/widgets/tag_chips_display_widget.dart index a369636a..f952d289 100644 --- a/lib/pages/spaces_management/space_model/widgets/tag_chips_display_widget.dart +++ b/lib/pages/spaces_management/space_model/widgets/tag_chips_display_widget.dart @@ -19,7 +19,7 @@ class TagChipDisplay extends StatelessWidget { required this.products, required this.subspaces, required this.allTags, - required this.spaceNameController, + required this.spaceName, required this.projectTags, this.pageContext, this.otherSpaceModels, @@ -32,7 +32,7 @@ class TagChipDisplay extends StatelessWidget { final List? products; final List? subspaces; final List? allTags; - final TextEditingController spaceNameController; + final String spaceName; final BuildContext? pageContext; final List? otherSpaceModels; final List? allSpaceModels; @@ -140,7 +140,7 @@ class TagChipDisplay extends StatelessWidget { products: products, subspaces: subspaces, allTags: allTags, - spaceName: spaceNameController.text, + spaceName: spaceName, pageContext: pageContext, isCreate: true, spaceModel: spaceModel,