store-system icon indicating copy to clipboard operation
store-system copied to clipboard

Can't add products

Open HZSamir opened this issue 4 years ago • 2 comments

Hello, I'm having trouble adding products. Filling up the form and pressing save nothing happens. All other forms such as clients and providers work just fine. I think it might have something to do with brands, as those I add are not saved either. But I'm not sure. This is on a cloned version of your project. Curiously enough, adding products works just fine on the production version you provide the link of.

Any pointers as to why that is? Thank you.

HZSamir avatar Sep 10 '20 15:09 HZSamir

its a validation error in nodo_modules/formik/dist/formik.esm.js line 429-431. The brands are not being added in the database due to which the form data is considered invalid.. comment the lines where the variable isValidating is set to false

ahmdabdula avatar Oct 04 '21 19:10 ahmdabdula

p.s. the code is too complicated

ahmdabdula avatar Oct 04 '21 19:10 ahmdabdula