Skip to main content

Products Create/Edit/Delete

Premium
9 min read
Francisco Ferreira Roque Júnior avatar
Francisco Ferreira Roque Júnior

At the UpdateProductRequest.php file, the rule of exists have a problem.

as is : 'category_id' => ['required', 'exists:category,id'],

should be: 'category_id' => ['required', 'exists:categories,id'],

David Lun avatar

thanks, updated

Md Mahmudul Hasan avatar

Inside primaryButton custom component: :processing="form.processing" will be :disabled="form.processing"

David Lun avatar

thanks, updated