chore: Add comment to explain the reason for ignoring validation

This commit is contained in:
Suraj Shetty 2019-12-18 17:04:12 +05:30 committed by GitHub
parent 4aec95809f
commit 8dfacdecac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,8 @@ frappe.ui.FilterGroup = class {
}
validate_args(doctype, fieldname) {
// Tags attached to the document are maintained seperately in Tag Link
// and is not the part of doctype meta therefore tag fieldname validation is ignored.
if (doctype === "Tag Link" && fieldname === "tag") {
return true;
}