Files
hipmi-mobile/components/_ShareComponent
bagasbanuna 16decd89c8 Refactor: apply PhoneInputCustom to PortofolioEdit
Changes:
- Replace react-native-international-phone-number with PhoneInputCustom
- Remove ICountry dependency, use CountryData from constants
- Add phone number state management
- Implement country detection from existing phone number
- Auto-detect country based on calling code on load
- Improve phone number formatting logic

Features Applied:
 NO emoji flags - only calling codes (+62, +65, etc)
 Clean, professional UI
 Modal country picker with search
 Auto-detect country from saved phone number
 Real-time phone number formatting
 Auto-update country code on change
 Consistent with LoginView & ScreenPortofolioCreate

Phone Detection Logic:
- Load existing phone number from API
- Detect country by matching calling code
- Extract phone number without country code for display
- Set detected country for country picker
- Re-format on country change

UI:
- Phone Input: [+62 ⌄ | xxx-xxx-xxx]
- Country Picker: Modal with search
- Display: Country name + calling code only

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-26 12:17:05 +08:00
..
2026-02-13 17:38:48 +08:00
2026-03-13 16:41:34 +08:00
2026-02-11 17:40:08 +08:00
2025-09-16 17:27:58 +08:00
2025-08-06 15:02:47 +08:00
2025-12-09 17:36:36 +08:00
2025-12-10 17:35:15 +08:00
2026-02-18 14:28:15 +08:00
2025-08-12 17:32:07 +08:00
2025-08-13 14:18:30 +08:00
2025-11-28 13:55:48 +08:00
2025-11-28 13:55:48 +08:00
2025-10-08 17:40:36 +08:00
2025-10-03 14:09:31 +08:00
2025-10-16 16:44:43 +08:00
2026-03-03 16:44:45 +08:00
2025-07-22 14:56:29 +08:00
2025-07-23 11:31:58 +08:00
2025-08-08 17:42:44 +08:00
2025-07-03 11:29:51 +08:00
fix
2025-07-08 10:46:45 +08:00