[fix] Don't show Tags for single type form
This commit is contained in:
parent
2849da71ad
commit
0d2d47131e
1 changed files with 5 additions and 0 deletions
|
|
@ -55,6 +55,11 @@ frappe.ui.form.Footer = Class.extend({
|
|||
|
||||
},
|
||||
make_tags: function() {
|
||||
if (this.frm.meta.issingle) {
|
||||
this.wrapper.find(".form-tags").toggle(false);
|
||||
return;
|
||||
}
|
||||
|
||||
this.frm.tags = new frappe.ui.TagEditor({
|
||||
parent: this.wrapper.find(".tag-area"),
|
||||
frm: this.frm,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue