Git Product home page Git Product logo

Comments (12)

Jontes-Tech avatar Jontes-Tech commented on July 25, 2024 1

I'm working on reporting this scammer

from dorf.

imejis avatar imejis commented on July 25, 2024

sample form

https://dorf.vercel.app/f/hvkfWSa

from dorf.

Jontes-Tech avatar Jontes-Tech commented on July 25, 2024

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.

imejis avatar imejis commented on July 25, 2024

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.

imejis avatar imejis commented on July 25, 2024

from dorf.

matheins avatar matheins commented on July 25, 2024

@Jontes-Tech using the id to make the fields name unique makes absolute sense to me.

from dorf.

matheins avatar matheins commented on July 25, 2024

@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.

imejis avatar imejis commented on July 25, 2024

from dorf.

Jontes-Tech avatar Jontes-Tech commented on July 25, 2024

@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.

matheins avatar matheins commented on July 25, 2024

@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.

phlezk avatar phlezk commented on July 25, 2024

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.

Jontes-Tech avatar Jontes-Tech commented on July 25, 2024

It's not even a crypto-related project :)

from dorf.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.