Creating a form with a varying number of repeated subform in Flask/WTForms

前端 未结 1 1617
一生所求
一生所求 2021-02-03 13:09

My model currently has three related objects (there are more, but only three are relevant to this problem). User, Network, and Email. What I want to be able to do is have a defi

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-03 13:25

    The answer was to simply pass in "class_" to each field constructor within the .html form.

    0 讨论(0)
提交回复
热议问题