File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1170
1170
"add_basic_details_product_name_error": "Please enter the product name",
1171
1171
"brand_name": "Brand name",
1172
1172
"add_basic_details_brand_name_error": "Please enter the brand name",
1173
- "weight_gram ": "Weight in gram ",
1174
- "add_basic_details_weight_gram_error ": "Please enter the weight",
1173
+ "quantity ": "Quantity and weight ",
1174
+ "add_basic_details_quantity_error ": "Please enter the quantity and weight",
1175
1175
"barcode": "Barcode",
1176
1176
"basic_details_add_success": "Basic details added succesfully",
1177
1177
"basic_details_add_error": "Unable to add basic details. Please try again after some time",
Original file line number Diff line number Diff line change @@ -97,12 +97,11 @@ class _AddBasicDetailsPageState extends State<AddBasicDetailsPage> {
97
97
SmoothTextFormField (
98
98
controller: _weightController,
99
99
type: TextFieldTypes .PLAIN_TEXT ,
100
- hintText: appLocalizations.weight_gram,
101
- textInputType: TextInputType .number,
100
+ hintText: appLocalizations.quantity,
102
101
validator: (String ? value) {
103
102
if (value == null || value.isEmpty) {
104
103
return appLocalizations
105
- .add_basic_details_weight_gram_error ;
104
+ .add_basic_details_quantity_error ;
106
105
}
107
106
return null ;
108
107
},
You can’t perform that action at this time.
0 commit comments