Comments (12)
I'm working on reporting this scammer
from dorf.
sample form
https://dorf.vercel.app/f/hvkfWSa
from dorf.
I'm working on a fix, would this approach be bad to do?
const processedForm = {
...form,
fields: form.fields.map((field) => ({
...field,
id: `${field.id}-${field.type}`,
})),
}
return (
<div>
<div className="space-y-8">
<TypographyH1>{form.title}</TypographyH1>
<TypographyLead>{form.description}</TypographyLead>
</div>
<Separator className="mb-8 mt-4" />
<FormRenderer form={processedForm} />
</div>
)
However, I'm currently working on replicating production for dev, do I need Vercel KV to run locally or is that just caching? @matheins?
from dorf.
I think assigning id (uuid) to the field when designing the form will be more appropriate.
You can update value for that field's values by id while filling the form.
from dorf.
from dorf.
@Jontes-Tech using the id to make the fields name unique makes absolute sense to me.
from dorf.
@Jontes-Tech actually using kv store from vercel is required. I think making it optional for local dev environment would make sense. Its used for rate limiting.
from dorf.
from dorf.
@Jontes-Tech using the id to make the fields name unique makes absolute sense to me.
Yeah, we just can't display the randomness. Just use it for the programmatical things
from dorf.
@Jontes-Tech I just added a small step-by-step description in README on how to setup the project locally. Please let me know if you need further assistance or if sth is not clear.
from dorf.
I'm confused as to how my name even showed up there, lol. This scammer must be checking out who has "starred" a git/project. That's literally my only activity on this website, other than maybe a handful of comments, only.
from dorf.
It's not even a crypto-related project :)
from dorf.
Related Issues (11)
- feat: conditional field
- bug: updating a fields type is not working
- feat: add the ability to edit basic form options HOT 1
- feat: file upload
- feat: payment integration (stripe) HOT 1
- feat: fullscreen form template
- feat: Add some missing steps in the documentation
- bug: Warning: React does not recognize the `userId` prop on a DOM element
- oauth callback handler error
- Viewer concerns after testing demoform.
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 dorf.