roopeshsn/freshcomm

Admin is able to set negative values for price mrp and count in stock in create and edit product

Closed this issue · 2 comments

Describe the bug
Admin is able to set negative values for price mrp and count in stock fields which is meaningless in create and edit product screens.

To Reproduce
Steps to reproduce the behavior:

  1. Go to /admin/createproduct
  2. Try to set negative values for number type input fields

Expected behavior
We need to be able to set positive values only.

Screenshots
image

@roopeshsn I would like to work on this. Can you assign this to me?