diff --git a/lib/modules/cm_module/views/forms/cost/cost_detail_form_screen.dart b/lib/modules/cm_module/views/forms/cost/cost_detail_form_screen.dart index f4cbe4db..e05bbfc4 100644 --- a/lib/modules/cm_module/views/forms/cost/cost_detail_form_screen.dart +++ b/lib/modules/cm_module/views/forms/cost/cost_detail_form_screen.dart @@ -161,7 +161,7 @@ class _CostDetailFormScreenState extends State with Ticker initialValue: requestDetailProvider.workOrderCostModel?.mrNo, textAlign: TextAlign.center, labelStyle: AppTextStyles.textFieldLabelStyle, - textInputType: TextInputType.text, + textInputType: const TextInputType.numberWithOptions(decimal: true), showShadow: false, onChange: (value) { requestDetailProvider.workOrderCostModel?.mrNo = value; @@ -172,7 +172,7 @@ class _CostDetailFormScreenState extends State with Ticker AppTextFormField( labelText: "Exchange Cost", backgroundColor: AppColor.neutral100, - initialValue: requestDetailProvider.workOrderCostModel?.exchangeCost!=null?requestDetailProvider.workOrderCostModel?.exchangeCost.toString():'', + initialValue: requestDetailProvider.workOrderCostModel?.exchangeCost != null ? requestDetailProvider.workOrderCostModel?.exchangeCost.toString() : '', textAlign: TextAlign.center, labelStyle: AppTextStyles.textFieldLabelStyle, textInputType: const TextInputType.numberWithOptions(decimal: true),