根据 web2py 中的其他下拉选项填充下拉列表的最佳实践? [英] Best practice for populating dropdown based on other dropdown selection in web2py?
本文介绍了根据 web2py 中的其他下拉选项填充下拉列表的最佳实践?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个包含下拉字段的表单.在一个下拉列表中输入文本或选择一个选项后,我想在另一个下拉列表中填充选项.
I would like to create a form that contains dropdown fields. After entering text or selecting an option in one dropdown I would like to populate the options in another.
是否有专门针对 web2py 执行此操作的最佳实践?
Is there a best practice for doing so specifically with web2py?
推荐答案
Check out this lazy options widget (with usage example) as well as these recipes:
这篇关于根据 web2py 中的其他下拉选项填充下拉列表的最佳实践?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文