Skip to content

Warning: Failed prop type: Invalid props.styleIndicator key color supplied to MultiSelect #206

Open
@benohiit

Description

@benohiit

I have a warning appeared for the style of the styleIndicator, but it seems working.

Warning: Failed prop type: Invalid props.styleIndicator key `color` supplied to `MultiSelect`.
Bad object: {
  "color": "#007aff"
}

How can I get rid of this warning ?

Steps to Reproduce

just add the prop in the multi select :
styleIndicator={{ color: '#007aff' }}

Workaround solution

Well i just wrote this for the me moment
import { LogBox } from 'react-native';
LogBox.ignoreLogs(['Invalid props.styleIndicator key']);

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