lambertf917 / lambertf917/food-ordering-system-source-code
Enatega Admin Dashboard : Show and navigate to error message according to text fields. While adding or updating New Vendor, Store, Rider and Staff
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When users submit forms with invalid or incomplete data, it's crucial to provide clear feedback by displaying error messages adjacent to the corresponding input fields and guiding users to these fields. This approach enhances user experience by making it easier to identify and correct errors.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Enatega Admin Dashboard'
- Now go to Store profile and update store profile info see error just click update button without filling any of the field , so the field border will get red colored but it doesn't navigate to that field or show any kind of error message.
Expected behavior
When users submit forms with invalid or incomplete data, it's crucial to provide clear feedback by displaying error messages adjacent to the corresponding input fields and guiding users to these fields. This approach enhances user experience by making it easier to identify and correct errors.
Screenshots
Smartphone (please complete the following information):
- Device: [e.g. Infinix Hot 50]
- OS: [e.g. Android]
- Browser [e.g. Application]
- Version [e.g. Latest]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem in the Enatega Admin Dashboard by submitting an empty Store profile form, then compare the validation behavior across the Vendor, Store, Rider, and Staff forms. Done means each invalid or incomplete field shows an adjacent error message and the interface navigates to the relevant field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100