Skip to content

Commit e6af598

Browse files
committed
feat: recursive generate options data for InteractionData.
1 parent b410d0f commit e6af598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __init__(self, **kwargs):
113113
self.values = (
114114
[SelectOption(**value) for value in self.values] if self._json.get("values") else None
115115
)
116-
self._json.update({"component_type": self.component_type.value})
116+
self._json.update({"component_type": self.component_type.value, "type": self.type.value})
117117

118118

119119
class Interaction(DictSerializerMixin):

0 commit comments

Comments
 (0)