chec / commercejs-nextjs-vercel

Serverless eCommerce demo store built for the Jamstack. Built with Commerce.js, Next.js and can be one click deployed to Vercel. Includes product catalogue, categories, variants, cart, checkout, order confirmation and printable receipts. This is an open source project.
https://commercejs-nextjs-vercel.vercel.app/
BSD 3-Clause "New" or "Revised" License
84 stars 25 forks source link

Warning: Failed prop type: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`. #8

Closed robbieaverill closed 4 years ago

robbieaverill commented 4 years ago
index.js:1 Warning: Failed prop type: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.
    in input (at ShippingForm.js:51)
    in label (at ShippingForm.js:47)
    in div (at ShippingForm.js:46)
    in div (at ShippingForm.js:45)
    in ShippingForm (at checkout/index.js:369)
    in div (at checkout/index.js:368)
    in form (at checkout/index.js:363)
    in div (at checkout/index.js:347)
    in div (at checkout/index.js:346)
    in div (at checkout/index.js:328)
    in Root (at checkout/index.js:323)
    in CheckoutPage (created by ConnectFunction)
jaepass commented 4 years ago

Please try to see if you can reproduce this. I've added some missing shipping data in the backend and might have been fixed but feel free to have a look!

K-Kumar-01 commented 4 years ago

Can i work on this issue?

robbieaverill commented 4 years ago

No longer an issue after fixing the broken builds yesterday