Bug report
Title
Phone number validation fails when selecting a Contact Person created via MagicAI during manual lead creation
Issue Description
When a Contact Person is created via MagicAI or file upload with a phone number containing a country code and formatting (for example +91-7120966590), selecting that person while manually creating a new lead causes the Contact Number field to show a validation error.
The phone number is auto-filled from the existing person but is immediately marked as invalid.
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version: Krayin CRM (Latest Master)
2. Commit id: HEAD
Steps to reproduce
- Create a lead via MagicAI or file upload with a Contact Person having a phone number like
+91-7120966590
- Create a new lead manually.
- In the Contact Person section, select the previously created person from the dropdown.
- Observe the auto-filled Contact Number field.
Expected result
- The auto-filled phone number should be accepted as valid.
- No validation error should be shown for the Contact Number field.
- User should be able to create the lead without modifying the phone number.
Actual result
- The Contact Number field shows a validation error:
This Contact Numbers must be a valid phone number.

Bug report
Title
Phone number validation fails when selecting a Contact Person created via MagicAI during manual lead creation
Issue Description
When a Contact Person is created via MagicAI or file upload with a phone number containing a country code and formatting (for example +91-7120966590), selecting that person while manually creating a new lead causes the Contact Number field to show a validation error.
The phone number is auto-filled from the existing person but is immediately marked as invalid.
Preconditions
Please provide as detailed information about your environment as possible.
Steps to reproduce
+91-7120966590Expected result
Actual result
This Contact Numbers must be a valid phone number.