You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2026. It is now read-only.
Changing the line from self.values["field"] = str(FIELDS.get(name, FIELDS.get(None))(self.field, self.attrs))
to self.values["field"] = FIELDS.get(name, FIELDS.get(None))(self.field, self.attrs)
fixed the problem for me (note the removed str())
Choice fields throw a UnicodeDecodeError if one of the choices is non-ascii.
The reason appears to be in line 49 of semanticuiforms.py
Changing the line from
self.values["field"] = str(FIELDS.get(name, FIELDS.get(None))(self.field, self.attrs))to
self.values["field"] = FIELDS.get(name, FIELDS.get(None))(self.field, self.attrs)fixed the problem for me (note the removed str())