idurar / idurar-erp-crm

Open Source Headless ERP CRM E-Commerce Accounting Software | Node Js React
https://cloud.idurarapp.com/
Other
5.86k stars 1.73k forks source link

when Adding Product Category Error shows "Please enter Enabled" in enabled field #1100

Open MSNoorul opened 1 month ago

MSNoorul commented 1 month ago

Describe the bug When entering the product category, the default value of the "enabled" field is initially set to "true." However, an error occurs when attempting to submit the form. After manually switching the field to "true" and resubmitting, the error disappears.

To Reproduce Steps to reproduce the behavior:

  1. Go to productCategory
  2. Click on Add new and add the name ,description ,color
  3. Submite and the error "Please enter Enabled"
  4. Switch the enable to false, then true, resubmit the error does not come.

Expected behavior the default value of the enable field is undefine

Screenshots image

Desktop (please complete the following information):