diff --git a/dynamic_raw_id/widgets.py b/dynamic_raw_id/widgets.py index d0ad8ef..3f44400 100644 --- a/dynamic_raw_id/widgets.py +++ b/dynamic_raw_id/widgets.py @@ -48,6 +48,17 @@ def media(self) -> forms.Media: class DynamicRawIDMultiIdWidget(DynamicRawIDWidget): + def value_from_datadict( + self, + data: dict[str, Any], + files: Any | None, + name: str, + ) -> str | None: + value = data.get(name) + if value: + return value.split(",") + return None + def render( self, name: str,