Skip to content

Commit

Permalink
Select @next: show the onBlur prop
Browse files Browse the repository at this point in the history
  • Loading branch information
music1353 committed Oct 6, 2023
1 parent 25bf656 commit 884eafb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/@next/Select/components/Activator/ActivatorTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const ActivatorTextInput = ({
disabled = false,
hasError = false,
onChange,
onBlur,
onFocus,
onSelect,
prefix = <Icon name="ri-search" />,
Expand Down Expand Up @@ -81,6 +82,7 @@ export const ActivatorTextInput = ({
ref={activatorRef}
prefix={prefix}
onChange={value => handleChange({ value })}
onBlur={onBlur}
onFocus={onFocus}
error={hasError}
disabled={disabled}
Expand All @@ -92,6 +94,7 @@ export const ActivatorTextInput = ({
ref={activatorRef}
prefix={prefix}
filterOptions={filterOptions}
onBlur={onBlur}
onFocus={onFocus}
onInputChange={onChange}
onSelect={onSelect}
Expand Down

0 comments on commit 884eafb

Please sign in to comment.