From 884eafb650511c0b1e45adb1323544cebeb95422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Su=2C=20Chin-Husan=20=E8=98=87=E9=9D=96=E8=BB=92?= Date: Fri, 6 Oct 2023 17:29:44 +0800 Subject: [PATCH] Select @next: show the onBlur prop --- src/@next/Select/components/Activator/ActivatorTextInput.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/@next/Select/components/Activator/ActivatorTextInput.tsx b/src/@next/Select/components/Activator/ActivatorTextInput.tsx index e2b97c91e..11c90ce0a 100644 --- a/src/@next/Select/components/Activator/ActivatorTextInput.tsx +++ b/src/@next/Select/components/Activator/ActivatorTextInput.tsx @@ -31,6 +31,7 @@ export const ActivatorTextInput = ({ disabled = false, hasError = false, onChange, + onBlur, onFocus, onSelect, prefix = , @@ -81,6 +82,7 @@ export const ActivatorTextInput = ({ ref={activatorRef} prefix={prefix} onChange={value => handleChange({ value })} + onBlur={onBlur} onFocus={onFocus} error={hasError} disabled={disabled} @@ -92,6 +94,7 @@ export const ActivatorTextInput = ({ ref={activatorRef} prefix={prefix} filterOptions={filterOptions} + onBlur={onBlur} onFocus={onFocus} onInputChange={onChange} onSelect={onSelect}