Comments (14)
It's been a while and @MichaelCereda still did not merge. I tweeted him in the hope that it will come to his attention.
from react-native-form-generator.
I just installed the package today, I got this error which appears only if I only do:
import { Form } from 'react-native-form-generator'
from react-native-form-generator.
Hey @GabrielBB I made a pull request today that goes through fixing the error you are seeing. React switched over to a different package called prop-types and that breaks it if you have a newer version.
from react-native-form-generator.
Did this get solved?
from react-native-form-generator.
@ccostel I made a PR for it but i don't think it was merged yet.
from react-native-form-generator.
@hans0low I actually implemented your changes and they work. Hopefully @MichaelCereda will soon merge it.
Thanks for the PR :) 👍
from react-native-form-generator.
Still undefined is not an object (evaluating '_react3.default.PropTypes.string'). Did you update repo?
from react-native-form-generator.
Yeah, I also had to apply the changes of the PR manually, But it works. Thanks @hans0low
from react-native-form-generator.
@ccostel @hans0low is there a way of applying the PR automatically while waiting for the merge to happen? i tried suggestions here but kept running into errors.
from react-native-form-generator.
npm install MichaelCereda/react-native-form-generator#pull/124/head
I believe this should work.
from react-native-form-generator.
Hi,
I'm getting error. I tried npm install MichaelCereda/react-native-form-generator#pull/124/head
but I'll receiveing the following message:
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git checkout pull/124/head
npm ERR! error: pathspec 'pull/124/head' did not match any file(s) known to git.
I'm trting to run this using Expo. Can this be the problem ?
I ask for help on this issue.
from react-native-form-generator.
@ventocilla You might want to try manually changing the files.
As of now, the @hans0low PR has been merged. But I installed the package today, then got the "undefined is not an object (evaluating '_react3.default.PropTypes.string')" error. I took a look at the .js files that the @hans0low PR (#124) changed but my local files (that I installed today), did not have the @hans0low PR changes applied. To fix the error, I had to manually edit my local .js files to match the @hans0low PR. #
from react-native-form-generator.
@hopewise did you manage to fix it?
from react-native-form-generator.
no, I abandoned using this package..
from react-native-form-generator.
Related Issues (20)
- InputField: Android style (color, font) not being applied. HOT 1
- [Android] InputField inherits propertie underlineColorAndroid of TextInput used anywhere in project
- Question: How to use the 'dateTimeFormat' attr in DatePicker?
- Autogrow on input
- Form values drop to initial when show/hide components
- Warning on 0.46.+ HOT 1
- How do I change the default style of picker?
- validate a field based on some other field value?
- TextInput disappear when prop label defined HOT 1
- Could not find a declaration file for module 'react-native-form-generator' with Typescript HOT 1
- Multiple Issues: InputFields not firing onFormChange, Pickers no longer work once Input has focus.
- style attribute inside input field not working
- increase height of textinput for multiline true HOT 1
- Value not getting inserted in formData via Custom Field
- Initial Value Example HOT 3
- Error: React native cannot read property 'string' of undefined HOT 7
- App crash in release mode when using 'View.propTypes.style' HOT 3
- handleFormChange (onChange) only passing one value at form level HOT 1
- [Android] Unable to resolve module: CountDownField
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 react-native-form-generator.