blackjk3 / react-form-builder

A complete react form builder that interfaces with a json endpoint to load and save generated forms. The toolbox contains 16 items for gathering data. Everything from star ratings to signature boxes!
MIT License
657 stars 545 forks source link

Drag and Drop is not working #36

Open jeysinghanbu opened 6 years ago

jeysinghanbu commented 6 years ago

I have downloaded the project and added npm modules. I see drag and drop is not working. anything I'm missing? here package.json file

{
  "name": "react-forms-builder",
  "version": "0.0.3",
  "description": "A complete form builder for react.",
  "main": "lib/app.js",
  "scripts": {
    "test": "mocha --compilers js:babel-core/register --recursive",
    "start": "webpack-dev-server --hot --inline",
    "dist": "webpack -p --config webpack.production.config.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/blackjk3/react-form-builder.git"
  },
  "keywords": [
    "react",
    "react-component",
    "form",
    "builder",
    "ui",
    "drag",
    "drop"
  ],
  "author": "Jason Kadrmas",
  "license": "MIT",
  "dependencies": {
    "classnames": "^2.1.3",
    "fbemitter": "^2.0.0",
    "jquery": "^3.2.1",
    "moment": "^2.13.0",
    "react-anything-sortable": "^0.2.2",
    "react-bootstrap-native-slider": "2.0.1",
    "react-datepicker": "^0.27.0",
    "react-select": "^0.5.5",
    "react-signature-pad": "0.0.6",
    "react-sortable-items": "0.0.7",
    "react-star-rating": "git+https://github.com/blackjk3/react-star-rating.git",
    "react-textarea-autosize": "^2.3.1",
    "reflux": "^0.2.8",
    "xss": "^0.2.13"
  },
  "peerDependencies": {
    "react": "^0.14.0 || ^15.0.0"
  },
  "devDependencies": {
    "babel": "6.23.0",
    "babel-core": "6.24.1",
    "babel-loader": "6.4.1",
    "babel-preset-es2015": "6.24.1",
    "babel-preset-react": "6.24.1",
    "babel-register": "6.24.1",
    "canvas": "1.6.5",
    "css-loader": "^0.16.0",
    "draft-js": "^0.10.0",
    "draftjs-to-html": "^0.6.1",
    "immutable": "^3.8.1",
    "jsdom": "3.1.2",
    "mocha": "^3.3.0",
    "mocha-jsdom": "^1.1.0",
    "node-libs-browser": "^1.0.0",
    "node-sass": "^4.7.2",
    "react": "^0.14.7",
    "react-dom": "^0.14.7",
    "react-draft-wysiwyg": "1.7.0",
    "react-hot-loader": "^1.2.7",
    "react-tools": "0.13.3",
    "sass-loader": "^2.0.1",
    "source-map": "^0.5.6",
    "style-loader": "^0.12.3",
    "webpack": "^1.10.1",
    "webpack-dev-server": "^1.10.1"
  },
  "bugs": {
    "url": "https://github.com/blackjk3/react-form-builder/issues"
  },
  "homepage": "https://github.com/blackjk3/react-form-builder#readme"
}
Kiho commented 6 years ago

This project is very old, I did not make everything work but update D&D work with react-dnd and react v16 here https://github.com/Kiho/react-form-builder

baorv commented 5 years ago

Nice!!! @Kiho