react-select-fast-filter-options filter does not work
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have been trying to use react-select-fast-filter-options by passing props.options, but the filtering does not happen. All the options are getting rendered but the filter doesn't work. I am also getting a warning: Warning: getDefaultProps is only used on classic React.createClass definitions. Use a static property named defaultProps instead. This is how I am trying to use the fast-filter: import React, { Component } from 'react'; import VirtualizedSelect, { Value } from 'react-virtualized-select'; import createFilterOptions from 'react