Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: forward NumberInput ref to input (#18904)

huyua93a1fc91bccd4
diff --git a/web/src/components/originui/number-input.tsx b/web/src/components/originui/number-input.tsx
index 9d5a6789e0..7f2d621a32 100644
--- a/web/src/components/originui/number-input.tsx
+++ b/web/src/components/originui/number-input.tsx
@@ -198,7 +198,6 @@ const NumberInput = forwardRef<
className,
)}
style={style}
- ref={ref}
>
{hideIcons || (
<button
@@ -227,6 +226,7 @@ const NumberInput = forwardRef<
)}
style={style}
min={min}
+ ref={ref}
{...omit(props, ['prefix', 'suffix'])}
/>
{hideIcons || (