Skip to content

Commit

Permalink
Expose select
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy committed Mar 11, 2024
1 parent 01440f6 commit d537ed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/form/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ export const Input = forwardRef<InputRef, InputProps>(
inputRef,
containerRef,
blur: () => inputRef.current?.blur(),
focus: () => inputRef.current?.focus()
focus: () => inputRef.current?.focus(),
select: () => inputRef.current?.select()
}));

useLayoutEffect(() => {
Expand Down

0 comments on commit d537ed2

Please sign in to comment.