Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

onBlur() event #9

@Shaker-Hamdi

Description

@Shaker-Hamdi

Hello.

Very nice package. It is almost what I need. I just want to say it would be nice to have an "onBlur()" event to setFiledTouched on that event.

I'm using Formik and Yup, and I need to validate the input onBlur, but right now Formik can't detect if the input is touched or not, and trying to set it manually via "onBlur" didn't work, at least in my case using Typescript, it gave me this error ...

Type '{ tags: any; onChange: (tags: Tags) => void; onBlur: () => void; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactTagInput> & Readonly<ReactTagInputProps> & Readonly<...>'.

So it would be nice to have that event.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions