gray-mueller/flutter-based-app-that-delivery-food

Enatega Admin Dashboard: When adding a new staff and Rider , phone number is added by taking just one digit number

Open

#178 opened on Mar 19, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (0 forks)auto 404
Enatega Multivendor Admin DashboardHigh prioritybuggood first issue

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug

When attempting to add a new staff member, the phone number input only captures and saves the first digit entered. Also displaying a error message that number is already associated with another account. Fix it on its update page also Steps to Reproduce:

  1. Navigate to the "Add New Staff" page.
  2. Fill out all required fields.
  3. Now if user fills the phone number by adding only just one number it accepts it as a full number.
  4. Click on "Save" or "Submit."

Expected behavior

The full phone number (e.g., "1234567890") should be saved and displayed correctly.

Desktop (please complete the following information):

OS: [e.g. Windows] Browser [e.g. chrome, ] Version [e.g. Latest]

Contributor guide