mirror of
https://github.com/danog/react-datalist-input.git
synced 2024-12-02 17:37:50 +01:00
f4d5cd7471
- Instead of passing the key of the item that got selected only - The selected item itself will get passed to onSelect implemented: if key has not changed with selection of an option (same item has been selected serveal times in a row) onSelect will not be triggered more than once.
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"name": "react-datalist-input",
|
|
"version": "1.0.2",
|
|
"description": "This package provides a react component as follows: an input field with a drop down menu to pick a possible option based on the current input.",
|
|
"main": "build/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/andrelandgraf/react-datalist-input.git"
|
|
},
|
|
"homepage": "https://github.com/andrelandgraf/react-datalist-input",
|
|
"bugs": "https://github.com/andrelandgraf/react-datalist-input/issues",
|
|
"authors": [
|
|
"Andre Landgraf <andre.timo.landgraf@gmail.com>"
|
|
],
|
|
"license": "MIT",
|
|
"tags": [
|
|
"react",
|
|
"datalist",
|
|
"input",
|
|
"select",
|
|
"autocomplete",
|
|
"combobox",
|
|
"highlight"
|
|
],
|
|
"keywords": [
|
|
"react",
|
|
"datalist",
|
|
"input"
|
|
],
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^7.1.1",
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
|
"babel-plugin-transform-react-jsx": "^6.24.1",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.8",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-env": "^1.5.1",
|
|
"style-loader": "^0.21.0",
|
|
"css-loader": "^1.0.0",
|
|
"webpack": "^3.5.5"
|
|
},
|
|
"dependencies": {
|
|
"prop-types": "^15.6.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0"
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"start": "webpack --watch",
|
|
"build": "webpack"
|
|
}
|
|
}
|