From 18108eef65389faa90d824e243419937d4e3e7ad Mon Sep 17 00:00:00 2001 From: gavin Date: Tue, 12 Apr 2022 12:29:05 +0530 Subject: [PATCH] fix(desk): Use Int control for Long Int (#16572) Type `Long Int` doesn't have a JS control, we can use the Int's instead. Prior to this, forms of DocTypes with Long Int fields would just not render :trollface: Screenshot 2022-04-11 at 3 36 40 PM --- frappe/public/js/frappe/form/controls/int.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/public/js/frappe/form/controls/int.js b/frappe/public/js/frappe/form/controls/int.js index 12652bf86e..a7e6c9bc7e 100644 --- a/frappe/public/js/frappe/form/controls/int.js +++ b/frappe/public/js/frappe/form/controls/int.js @@ -41,3 +41,5 @@ frappe.ui.form.ControlInt = class ControlInt extends frappe.ui.form.ControlData return cint(this.eval_expression(value), null); } }; + +frappe.ui.form.ControlLongInt = frappe.ui.form.ControlInt;