diff --git a/src/pages/workspace/reportFields/CreateReportFieldsPage.tsx b/src/pages/workspace/reportFields/CreateReportFieldsPage.tsx index 8dbd90c9e929..461c5122c5d4 100644 --- a/src/pages/workspace/reportFields/CreateReportFieldsPage.tsx +++ b/src/pages/workspace/reportFields/CreateReportFieldsPage.tsx @@ -52,11 +52,11 @@ function CreateReportFieldsPage({ ReportField.createReportField(policyID, { name: values[INPUT_IDS.NAME], type: values[INPUT_IDS.TYPE], - initialValue: values[INPUT_IDS.INITIAL_VALUE], + initialValue: !(values[INPUT_IDS.TYPE] === CONST.REPORT_FIELD_TYPES.LIST && availableListValuesLength === 0) ? values[INPUT_IDS.INITIAL_VALUE] : '', }); Navigation.goBack(); }, - [policyID], + [availableListValuesLength, policyID], ); const validateForm = useCallback(