Comments (6)
Has a contributer looked into this issue yet?
from formsy-material-ui.
Yep, modifying line 33 works for me too. Just remember to do it every time you have to nuke your node_modules folder 📆
from formsy-material-ui.
I don't think it would be ./utils
, since this is pulling in utils from the formsy-react project, not this one (formsy-material-ui). But it might make more sense to be importing from lib
rather than src
. I can't think of a reason not to switch that to formsy-react/lib/utils
, can you?
Just for the sake of completion, what versions of formsy-material-ui, formsy-react, and material-ui do you have in your project?
And do you have a link that shows where material-ui decided to drop the autoComplete component? I'm guessing it's for v1 because v0.20 still has it.
from formsy-material-ui.
I was able to get rid of this error by changing line 33 in formsy-material-ui/lib/FormsyAutoComplete.js from var _utils = require('formsy-react/src/utils');
to var _utils = require('formsy-react/lib/utils');
I am not using autocomplete, so I am not sure if this actually fixes anything or just gets rid of the error message.
from formsy-material-ui.
I have faced the same error too.
./node_modules/formsy-material-ui/lib/FormsyAutoComplete.js
Module not found: Can't resolve 'formsy-react/src/utils' in '/app/node_modules/formsy-material-ui/lib'
"dependencies": {
"axios": "^0.18.0",
"create-react-class": "^15.6.3",
"formsy-material-ui": "^0.6.3",
"formsy-react": "^1.1.4",
"inline-style-prefixer": "^4.0.0",
"lint": "^1.1.2",
"material-ui": "^1.0.0-beta.34",
"material-ui-icons": "^1.0.0-beta.17",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-router-dom": "^4.2.2",
"react-scripts": "1.1.1",
"sockjs-client": "^1.1.4"
},
But, I am not using FormsyAutoComplete
. Can you help me please?.
from formsy-material-ui.
There was never a setMuiComponentAndMaybeFocus
component in formsy-react
. Mostly due to Mui
referring to Material UI which is not something formsy-react
is involved with. For now I have changed this to use the setMuiComponentAndMaybeFocus
utility in utils, as every single other component does.
If any active MUI user has an opinion on if the Autocomplete Labs component should be removed or supported in future releases, your opinion would be appreciated.
If any of you are interested in working with Formsy and Material UI again please reach out, we are looking for contributors.
from formsy-material-ui.
Related Issues (20)
- Is there a component for file upload? HOT 1
- FormsySelect onChange getting bypassed HOT 3
- Support the incoming Material UI v1.0 HOT 10
- Text field underline color broken after 0.6.1 HOT 10
- FormsyText with type="number" bad behavior HOT 3
- FormsyAutoComplete does not use provided default value HOT 2
- FormsySelect required is not showing any error when submit the form HOT 9
- Remove FormsyAutoComplete component? HOT 1
- Warning: getDefaultProps
- FormsySelect does not change underline color when selected HOT 1
- Not working with React 16.1.1 HOT 1
- Support new Formsy
- Support formsy-react v1.1.2 HOT 4
- FormsyDate and FormsyTime don't handle value argument properly
- FormsyText cannot accept value 0
- Not compatible HOT 1
- not compatible with React 16.3.1 HOT 1
- Accept a list of validation errors?
- Is This Project Maintained? HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formsy-material-ui.