Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下两种模型:发票和关系(发票的外键)。创建发票时,您必须选择一个关系。我目前正在构建表单,我想知道如何在我的选择字段选项中添加“新”选项。如果关系尚不存在,新选项将允许用户创建新关系。