Drop down list with an empty option using flask wtforms

前端 未结 0 1349
余生分开走
余生分开走 2021-01-30 12:38

I want the following drop down lists to have an empty option:

form.from_location.choices = [("","-")] + [(location.id,location.name) for locat         


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