From 138d105694606397c0dc09cd9d8769e083bc172d Mon Sep 17 00:00:00 2001 From: Paco Date: Wed, 29 May 2024 21:42:04 +0200 Subject: [PATCH] change: change the component_input_text behaviour in a tool. Do not activate in this case --- core/component_input_text/js/view_default_edit_input_text.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/component_input_text/js/view_default_edit_input_text.js b/core/component_input_text/js/view_default_edit_input_text.js index 8fbbea7ee0..e379d44c6e 100644 --- a/core/component_input_text/js/view_default_edit_input_text.js +++ b/core/component_input_text/js/view_default_edit_input_text.js @@ -368,6 +368,11 @@ const check_duplicates = async function(self, value) { return } + // into tool case + if (self.caller.type==='tool') { + return + } + const equal_value = await self.find_equal(value) if (equal_value) { ui.component.add_component_warning(