Socket
Socket
Sign inDemoInstall

react-native-dropdown-picker

Package Overview
Dependencies
514
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.4.4 to 5.4.5

2

index.d.ts

@@ -25,3 +25,3 @@ declare module 'react-native-dropdown-picker' {

value?: T;
icon?: () => void;
icon?: () => JSX.Element;
parent?: T;

@@ -28,0 +28,0 @@ selectable?: boolean;

{
"name": "react-native-dropdown-picker",
"version": "5.4.4",
"version": "5.4.5",
"description": "A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -12,3 +12,3 @@ # React Native Dropdown Picker 5.x

# Documentation
**The documentation has been moved to https://hossein-zare.github.io/react-native-dropdown-picker-website/**
**Visit https://hossein-zare.github.io/react-native-dropdown-picker-website/**

@@ -15,0 +15,0 @@ # Merge and Release Process

@@ -462,3 +462,4 @@ import React, {

let results = sortedItems.filter(item => {
const label = item[_schema.label].toLowerCase();
const label = String(item[_schema.label]).toLowerCase();
if (

@@ -485,3 +486,3 @@ label.includes(searchText.toLowerCase())

if ((results.length === 0 || results.findIndex(item => item[_schema.label].toLowerCase() === searchText.toLowerCase()) === -1) && addCustomItem) {
if ((results.length === 0 || results.findIndex(item => String(item[_schema.label]).toLowerCase() === searchText.toLowerCase()) === -1) && addCustomItem) {
results.push({

@@ -1813,9 +1814,12 @@ [_schema.label]: searchText,

return (
<View style={_containerStyle} {...containerProps}>
<TouchableOpacity style={_style} onPress={__onPress} onLayout={__onLayout} {...props} ref={onRef} pointerEvents={pointerEvents} disabled={disabled} testID={testID}>
{_BodyComponent}
{_ArrowComponent}
</TouchableOpacity>
<>
<View style={_containerStyle} {...containerProps}>
<TouchableOpacity style={_style} onPress={__onPress} onLayout={__onLayout} {...props} ref={onRef} pointerEvents={pointerEvents} disabled={disabled} testID={testID}>
{_BodyComponent}
{_ArrowComponent}
</TouchableOpacity>
</View>
{DropDownBodyComponent}
</View>
</>
);

@@ -1822,0 +1826,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc