Skip to content

Error in Options component #8

@thobenayann

Description

@thobenayann

Hi there ! First, great job, exactly what we need for a multiselect input 👍

I would like to use your "formatGroupLabel" example but i'm facing an issue when i try to select something by clicking on the input field.

Steps :

  • Create a project with npx create-react-app
  • Add tailwind CSS and your package
  • copy/past your tailwind.config.js options
  • copy/past your "formatGroupLabel" example
    (I use React 18.2.0)

Now if i run it, and click on the field, the error above occured :
"Cannot read properties of undefined (reading 'toLowerCase')
at filterItem (Options.tsx:31:1)
at Array.filter ()
at Options.tsx:38:1"

Maybe i've miss something !

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions