syrusakbary / Flask-SuperAdmin

The best admin interface framework for Flask. With scaffolding for MongoEngine, Django and SQLAlchemy.
Other
643 stars 134 forks source link

no label shown for ListField(Int/StringField) #146

Open genxstylez opened 8 years ago

genxstylez commented 8 years ago

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