django chain select

前端 未结 2 967
攒了一身酷
攒了一身酷 2020-12-09 13:40

django-smart-selects is an elegant solution that enables Django developers to have chained select inputs in their forms. But as reported by developers in its list of issues,

2条回答
  •  清歌不尽
    2020-12-09 14:10

    make sure to use the formset's name/id/index in the element ID that is used by javascript, that way they'll still be unique

提交回复
热议问题