Context
This is a sub-issue of #53493 (Replace modal screens with modals from @react-navigation).
For full background and migration approach, see the triage analysis comment and the sub-issue breakdown comment.
Problem
NetSuiteCustomListSelectorModal is currently implemented using react-native-modal, which causes animation inconsistencies on native platforms.
Migration approach (Group 3 — Write to known form draft)
Used via InputWrapper in only one place with a known formID/inputID. The new navigation page writes directly to the Onyx form draft, and FormProvider merges it reactively.
- File:
src/pages/workspace/accounting/netsuite/import/NetSuiteImportCustomFieldNew/NetSuiteCustomListSelectorModal.tsx
- Used by: Only
NetSuiteCustomListPicker → ChooseCustomListStep.tsx
- On select:
onCustomListSelected(item) → onInputChange(item.value) + onInputChange(item.id, internalIDInputID)
- State destination: Form
NETSUITE_CUSTOM_LIST_ADD_FORM, fields listName and internalID
Steps
- Create a new
@react-navigation modal route for NetSuite custom list selection.
- Extract the modal content into a standalone screen component.
- On selection, the screen writes directly to
NETSUITE_CUSTOM_LIST_ADD_FORM form draft fields listName and internalID via Onyx, then navigates back.
- Replace the
<NetSuiteCustomListSelectorModal /> usage with a navigation call.
- Test the NetSuite custom list import flow on iOS, Android, and web.
Reference
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022054512672280874036
- Upwork Job ID: 2054512672280874036
- Last Price Increase: 2026-05-20
Issue Owner
Current Issue Owner: @trasnake87
Context
This is a sub-issue of #53493 (Replace modal screens with modals from
@react-navigation).For full background and migration approach, see the triage analysis comment and the sub-issue breakdown comment.
Problem
NetSuiteCustomListSelectorModalis currently implemented usingreact-native-modal, which causes animation inconsistencies on native platforms.Migration approach (Group 3 — Write to known form draft)
Used via
InputWrapperin only one place with a knownformID/inputID. The new navigation page writes directly to the Onyx form draft, andFormProvidermerges it reactively.src/pages/workspace/accounting/netsuite/import/NetSuiteImportCustomFieldNew/NetSuiteCustomListSelectorModal.tsxNetSuiteCustomListPicker→ChooseCustomListStep.tsxonCustomListSelected(item)→onInputChange(item.value)+onInputChange(item.id, internalIDInputID)NETSUITE_CUSTOM_LIST_ADD_FORM, fieldslistNameandinternalIDSteps
@react-navigationmodal route for NetSuite custom list selection.NETSUITE_CUSTOM_LIST_ADD_FORMform draft fieldslistNameandinternalIDvia Onyx, then navigates back.<NetSuiteCustomListSelectorModal />usage with a navigation call.Reference
@react-navigation#53493Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trasnake87