Skip to content

SearchBar - iOS icon error #3837

@Mazztwo

Description

@Mazztwo

Is there an existing issue for this?

  • I have searched the existing issues

Platform

  • iOS
  • rneui 4 rc8
  • RN 72.4

Explain what you did

Using the SearchBar on latest 4 rc8 shows a '?' as the search bar symbol on iOS instead of the magnifying glass. Showing this Error in console:

Warning: Failed prop type: Invalid prop name of value ios-search supplied to Icon, expected one of ["accessibility",........]

We are not passing any such prop and this is working in the react-native-vector-icon v9.2.0

Expected behavior

We expect a magnifying glass as the search bar icon instead of the '?' with the warning.

Screenshots

This is what it looks like:
Screenshot 2023-09-11 at 3 32 06 PM

Even the https://reactnativeelements.com/docs/components/searchbar playground is showing a bad search icon:

Screenshot 2023-09-11 at 3 32 29 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions