enatega / food-delivery-multivendor

Enatega is a fully realized and customizable food delivery application that can be used to set up your own order/delivery management system. For more information, visit the Enatega product page: 🚀🛒📦🌐
https://enatega.com/?utm_source=github&utm_medium=referral&utm_campaign=github_guide&utm_id=12345678
MIT License
783 stars 253 forks source link

Add Restaurant: SAVE button activated before a user fills in all the required infos (Enatega multivendor admin app) #383

Closed SSUXR closed 7 months ago

SSUXR commented 7 months ago

Describe the bug SAVE button is activated before a user fills in all the infos. It leaves the user to assume that its ok to skip the remaining fields. But when the user clicks the SAVE button, the form fields are highlighted that needs to be filled.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Add Restaurant'
  2. Click on 'the form fields to fill some of the infos' and see the SAVE button activated.
  3. Scroll down to 'SAVE button'
  4. See error: Message appears "Fields required" with the unfilled fields highlighted.

Expected behavior SAVE button activates only when a user fills in all the required infos.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

rahil1202 commented 7 months ago

Hey @Inshirah23, I have fixed this issue by PR #386

Inshirah23 commented 7 months ago

Hey @Inshirah23, I have fixed this issue by PR #386

Thankyou @rahil1202 our team will review it today