Home of RedBot and LetsForm.
guidone / lets-form Goto Github PK
View Code? Open in Web Editor NEWA JSON form generator for React with Material UI / AntDesign / Bootstrap / RSuite / Mantine
Home Page: https://letsform.dev
License: MIT License
A JSON form generator for React with Material UI / AntDesign / Bootstrap / RSuite / Mantine
Home Page: https://letsform.dev
License: MIT License
Home of RedBot and LetsForm.
devbox link : https://codesandbox.io/p/devbox/wpvsry?file=%2Fsrc%2Findex.js%3A14%2C33
run the above devbox to see the error.
Hi
i already follow the steps on the documentation , but once i refer to the rout /en-us/DataDictionary it is giving not found error
could you please help me in this
Hi, I have started a new project to test lets-form.
project has been created with Create-React-App
when I try to use the LetsForm component I get the following error
ERROR in ./node_modules/lets-form/react-material-ui/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /project/path/node_modules/lets-form/react-material-ui/index.js: Support for the experimental syntax 'jsx' isn't currently enabled (108:3):
106 | const FormGenerator = GenerateGenerator({ Fields, Forms });
107 | const LetsForm = ({ framework, children, ...rest}) => (
> 108 | <FormGenerator framework="react-material-ui" {...rest}>{children}</FormGenerator>
| ^
109 | );
110 | export default LetsForm;
111 | export * from '../helpers';
any advice how to proceed with CRA?
thanks
using version 0.5.6
for MUI upload component if multiple = true the following error occurs when select a file
2attachment.js:1 Uncaught ReferenceError: React is not defined
at lt (attachment.js:1:1)
at renderWithHooks (react-dom.development.js:16305:1)
at mountIndeterminateComponent (react-dom.development.js:20074:1)
at beginWork (react-dom.development.js:21587:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1)
at invokeGuardedCallback (react-dom.development.js:4277:1)
at beginWork$1 (react-dom.development.js:27451:1)
at performUnitOfWork (react-dom.development.js:26557:1)
at workLoopSync (react-dom.development.js:26466:1)
reproduced here https://codesandbox.io/p/sandbox/trusting-bird-z5w85g?file=%2Fform.js%3A20%2C9
besides the initialValue
, suggest to add a value
property for the form, so that it can also be used as a controlled component, with more flexibility.
Trying to sign up or log in with Github via the button from anywhere the site results in the following error:
{"errors":[{"message":"Invalid payload. URL \"https://designer.letsform.dev/github\" can't be used to redirect after login.","extensions":{"code":"INVALID_PAYLOAD","reason":"URL \"https://designer.letsform.dev/github\" can't be used to redirect after login"}}]}
in version 0.5.2 if form contains an array I get the following error
only happens in version 0.5.2, 0.5.1 works as expected
reproduced here https://codesandbox.io/p/sandbox/happy-cache-64tlhr?file=%2Fpackage.json
above codesandbox is Array example from docs with lets-form version changed to 0.5.2 (no other changes)
ReferenceError
_ is not defined
ArrayItem
https://64tlhr.csb.app/node_modules/lets-form/material-ui.js:62:2117
renderWithHooks
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:16305:27
mountIndeterminateComponent
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:20074:13
beginWork
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:21587:16
callCallback
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:4164:14
invokeGuardedCallbackDev
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:4213:16
invokeGuardedCallback
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:4277:31
beginWork$1
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:27451:28
performUnitOfWork
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26557:12
workLoopSync
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26466:22
renderRootSync
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26434:7
performSyncWorkOnRoot
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26085:34
flushSyncCallbacks
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:12042:22
flushPassiveEffectsImpl
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:27060:3
flushPassiveEffects
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26984:14
commitRootImpl/<
https://64tlhr.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26769:9
workLoop
https://64tlhr.csb.app/node_modules/scheduler/cjs/scheduler.development.js:266:42
flushWork
https://64tlhr.csb.app/node_modules/scheduler/cjs/scheduler.development.js:239:14
performWorkUntilDeadline
https://64tlhr.csb.app/node_modules/scheduler/cjs/scheduler.development.js:533:21
I am using vite to create the app but I am getting this error.
any guidelines on how to setup it in vite
Uncaught TypeError: Cannot read properties of undefined (reading 'webpackChunklets_form_react')
at jsonp chunk loading:86:98
at jsonp chunk loading:88:88
at startup:4:47
at universalModuleDefinition:3:20
at node_modules/lets-form/dist/react/main.js (universalModuleDefinition:10:2)
at __require (chunk-4YP5LC2O.js?v=a0a6cf6f:3:50)
at startup:4:47
test
Some description here
only hint/placeholder/etc property can be set in form script
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.