Fix onClick on forms (#11624)

As title
This commit is contained in:
Thomas Trompette
2025-04-17 15:53:40 +02:00
committed by GitHub
parent 56874bf84b
commit b112d06f66

View File

@ -47,6 +47,7 @@ export const FormFieldInputInnerContainer = forwardRef(
multiline, multiline,
readonly, readonly,
preventSetHotkeyScope = false, preventSetHotkeyScope = false,
onClick,
}: HTMLAttributes<HTMLDivElement> & FormFieldInputInnerContainerProps, }: HTMLAttributes<HTMLDivElement> & FormFieldInputInnerContainerProps,
ref: Ref<HTMLDivElement>, ref: Ref<HTMLDivElement>,
) => { ) => {
@ -82,6 +83,7 @@ export const FormFieldInputInnerContainer = forwardRef(
readonly={readonly} readonly={readonly}
onFocus={handleFocus} onFocus={handleFocus}
onBlur={handleBlur} onBlur={handleBlur}
onClick={onClick}
> >
{children} {children}
</StyledFormFieldInputInnerContainer> </StyledFormFieldInputInnerContainer>