diff --git a/tailbone/forms2/core.py b/tailbone/forms2/core.py index 06183d4c..56c10b93 100644 --- a/tailbone/forms2/core.py +++ b/tailbone/forms2/core.py @@ -332,6 +332,7 @@ class Form(object): if enum: self.enums[key] = enum self.set_type(key, 'enum') + self.set_widget(key, dfwidget.SelectWidget(values=list(enum.items()))) else: self.enums.pop(key, None)