Socket
Socket
Sign inDemoInstall

react-select-allow-create

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select-allow-create - npm Package Compare versions

Comparing version 1.0.0-beta11 to 1.0.0-beta11.5

2

package.json
{
"name": "react-select-allow-create",
"version": "1.0.0-beta11",
"version": "1.0.0-beta11.5",
"description": "A Select control built with and for ReactJS",

@@ -5,0 +5,0 @@ "main": "lib/Select.js",

@@ -537,3 +537,3 @@ import React from 'react';

selectFocusedOption () {
if (this.props.allowCreate && !this.state.focusedOption) {
if (this.props.allowCreate && (!this.state.focusedOption || this.filterOptions(null).length === 0 ) {
return this.selectValue(this.state.inputValue);

@@ -540,0 +540,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc