mobile fied accept first digit 0 to 9

This commit is contained in:
Pramod Mahajan 2025-05-09 17:44:55 +05:30
parent 20f5dee534
commit ae33594691

View File

@ -13,7 +13,7 @@ import { useEmployeeProfile } from "../../hooks/useEmployees";
import { clearCacheKey, getCachedData } from "../../slices/apiDataManager";
import { clearApiCacheKey } from "../../slices/apiCacheSlice";
const mobileNumberRegex = /^[7-9]\d{9}$/;
const mobileNumberRegex = /^[0-9]\d{9}$/;
const ManageEmployee = ({ employeeId, onClosed }) => {
const dispatch = useDispatch();