Skip to content

The open alternative to Salesforce, designed for AI.

remove arrows for number inputs (#1287)

Srikar Samudralab68b5779a6dc
diff --git a/front/src/modules/ui/dropdown/components/DropdownMenuInput.tsx b/front/src/modules/ui/dropdown/components/DropdownMenuInput.tsx
index 6a2ca46496b..3717070b275 100644
--- a/front/src/modules/ui/dropdown/components/DropdownMenuInput.tsx
+++ b/front/src/modules/ui/dropdown/components/DropdownMenuInput.tsx
@@ -22,6 +22,16 @@ const StyledInput = styled.input`
${textInputStyle}
width: 100%;
+
+ &[type='number']::-webkit-outer-spin-button,
+ &[type='number']::-webkit-inner-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+ }
+
+ &[type='number'] {
+ -moz-appearance: textfield;
+ }
`;
export const DropdownMenuInput = forwardRef<