syrusakbary/Flask-SuperAdmin

no label shown for ListField(Int/StringField)

genxstylez opened this issue · 0 comments

as titled.
I have my a field in my model written like this
temperatures = db.ListField(db.IntField(choices=TEMPERATURES), default=[])

but the label doesn't show.
If I changed it to other field type, it works.

NOTE
seen_users = db.ListField(db.ReferenceField(User), default=[]) does show label