我观察到与 tag-chooser 类型字段相关的两个错误:
- 标签 ID 被添加到帖子正文,而不是标签名称(至少在预览中是这样)
- 选定的标签不允许保存
重现步骤:
- 创建一个包含至少一个
tag-chooser字段的表单模板 - 为一个分类启用表单模板
- 确保该分类的标签设置没有任何限制
- 使用新表单创建一个主题
- 观察到建议删除通过
tag-chooser字段添加的标签的错误消息
发生了一个错误:无法在“General”分类中使用“paintbrush”标签。请将其删除。
- type: tag-chooser
id: demo
tag_group: "Demo"
attributes:
none_label: "Select an option"
label: "Demo"
multiple: false
validations:
required: true
- type: composer
id: post
attributes:
label: "Post"
placeholder: "Enter post content"
validations:
required: true
- type: upload
id: assets
attributes:
file_types: ".jpg, .png"
allow_multiple: true




