Flask WTForms, How to add additional attribute to options of SelectField?

前端 未结 0 648
滥情空心
滥情空心 2020-11-21 23:47

I tried to implement additional attribute (e.g. custom data) to the option of SelectField in FlaskForm(_Option in module wtforms.fields.core). But it didn\'t work.

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题