- Ya
- 23 Oktoba 2025, 22:26 UTC
- Mwandishi
- snadjafinia
- Ahadi ya
- 1f1f8b0
HEADER UPDATES: - Change title from 'Create KamoCRM Passport' to 'Join {OrganizationName}' - Update sign-in text to 'Already have a {Organization Name} member?' - Fix sign-in link to swap register.* with login.* dynamically PASSPORT ID -> MEMBER ALIAS/EMAIL: - Ages 12 and under: 'Member Alias' with passport ID validation - Ages 13 and up: 'E-Mail' with email validation - Dynamic label: '{Organization Name} Member Alias' or '{Organization Name} E-Mail Address' - Email mode: validates email format, checks for @ symbol, domain, etc. - Member Alias mode: validates alphanumeric + hyphens, no consecutive hyphens - Show appropriate icons (EmailIcon vs BadgeIcon) - Display success chip when valid - Check uniqueness via different endpoints based on mode MY COUNTRY FIX: - Remove memoization that was blocking country selection - Simplify click handlers to always call handleInputChange - Users can now select any country (not stuck with detected) - Fix useEffect dependency to prevent infinite loops VALIDATION FIX: - Fix duplicate activeStep === 2 validation blocks - Password validation now correctly occurs on step 3 - Member Alias/Email validation on step 2 - Personal Info validation on step 4 - Proper error messages with dynamic field names