diff --git a/tapeforms/fieldsets.py b/tapeforms/fieldsets.py
index <HASH>..<HASH> 100644
--- a/tapeforms/fieldsets.py
+++ b/tapeforms/fieldsets.py
@@ -147,7 +147,7 @@ class TapeformFieldsetsMixin:
         fieldsets = fieldsets or self.fieldsets
 
         if not fieldsets:
-            raise StopIteration
+            return
 
         # Search for primary marker in at least one of the fieldset kwargs.
         has_primary = any(fieldset.get('primary') for fieldset in fieldsets)
Replace StopIteration raising by return