First of all, huge thanks to you @foxhound87 for making this library. I just started using it and it was a great experience. I'd like to replace my usage of formsy-react/formsy-material-ui with your library. I'm thinking about creating a new repo similar to formsy-material-ui, but instead combining material-ui and mobx-react-form. I was planning to do this internally, but I thought it would make sense to create a public repo/npm package that maybe someone else can use.
My overall goal would be to create a library of material-ui components that can be passed a mobx-react-form field and automatically update the errorText, etc.
I was planning to start with the code you've already written in this demo:
Usage would be just like in your demo code:
<MaterialTextField field={form.$('fieldName')} />
My questions are:
- is there any reason I should not do this?
- are there any specific naming conventions or code conventions for mobx-react-form that I should be aware of when creating these wrapped components?
- when creating the demo, did you run into any hiccups with material-ui that I should know before I start?
First of all, huge thanks to you @foxhound87 for making this library. I just started using it and it was a great experience. I'd like to replace my usage of formsy-react/formsy-material-ui with your library. I'm thinking about creating a new repo similar to formsy-material-ui, but instead combining material-ui and mobx-react-form. I was planning to do this internally, but I thought it would make sense to create a public repo/npm package that maybe someone else can use.
My overall goal would be to create a library of material-ui components that can be passed a mobx-react-form
fieldand automatically update theerrorText, etc.I was planning to start with the code you've already written in this demo:
Usage would be just like in your demo code:
My questions are: