From cf98f2e55d4c0b4f0d0e157a0e1daed739304dbf Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Thu, 22 May 2025 14:12:57 -0300 Subject: [PATCH] fix: set cursor to text in text fields (#8173) Fixed cursor being default in input fields --- .../components/inputComponent/components/popover/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/core/parameterRenderComponent/components/inputComponent/components/popover/index.tsx b/src/frontend/src/components/core/parameterRenderComponent/components/inputComponent/components/popover/index.tsx index a475aafa1..37dc13b4b 100644 --- a/src/frontend/src/components/core/parameterRenderComponent/components/inputComponent/components/popover/index.tsx +++ b/src/frontend/src/components/core/parameterRenderComponent/components/inputComponent/components/popover/index.tsx @@ -138,7 +138,7 @@ const getInputClassName = ( "disabled:text-muted disabled:opacity-100 placeholder:disabled:text-muted-foreground", password && "text-clip pr-14", blockAddNewGlobalVariable && "text-clip pr-8", - selectedOptions?.length >= 0 && "cursor-default", + selectedOptions?.length > 0 && "cursor-default", ); };