-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When field have same name but different input type its causing error #5
Comments
sample form |
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? |
I think assigning id (uuid) to the field when designing the form will be more appropriate. |
you mean redirect url?
…On Sat, Jun 17, 2023 at 1:49 PM Jonatan ***@***.***> wrote:
I know this ain't the right place to ask but what do I put the oauth
callback to in github oauth?
—
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAQ7NCIY564MUV4NJ7EVY2DXLVSA3ANCNFSM6AAAAAAZJMU6NM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@Jontes-Tech using the id to make the fields name unique makes absolute sense to me. |
@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. |
Just use environment variables.
…On Sat, Jun 17, 2023, 10:35 PM Matyas Heins ***@***.***> wrote:
@Jontes-Tech <https://github.com/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.
—
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAQ7NCOX5STA2QM3O7EJMSLXLXPW7ANCNFSM6AAAAAAZJMU6NM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yeah, we just can't display the randomness. Just use it for the programmatical things |
@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. |
I'm working on reporting this scammer |
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. |
It's not even a crypto-related project :) |
No description provided.
The text was updated successfully, but these errors were encountered: