-
Notifications
You must be signed in to change notification settings - Fork 58
Select option for category in create product screen #97
Select option for category in create product screen #97
Conversation
}} | ||
> | ||
<option>--Select One--</option> | ||
<option value="vegetables">Vegetables</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These fields should be dynamic. We have categories data stored in the DB. It will be great if you use those data to render categories.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure will work on it.
@roopeshsn I have made changes. Can you please check? |
Could you share a screenshot? "--Select one--" is also an option right? What if the admin chooses "--Select One--" and proceeds to create a product? |
Have you formatted the code? |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @s-vamshi
This PR resolves #91.
Added pre - defined options to category field in create product screen and product edit screen.