Open
Description
Opal form templatetags attempt to infer enums. They look at Django Choices, Opal Lookuplists or arbitrary JSON passed in the template.
Two enhancements would improve this functionality:
- When passed a Boolean/NullBoolean field, know that the options are e.g. Yes/No/Unknown
- When a widget that requires an enum (Select, Radio) can't find one, raise an exception rather than rendering an empty widget