|
|
|
@ -239,7 +239,11 @@ class _RequestGasRefillState extends State<RequestGasRefill> {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
textInputType: TextInputType.number,
|
|
|
|
textInputType: TextInputType.number,
|
|
|
|
controller: _deliveredQuantityController,
|
|
|
|
controller: _deliveredQuantityController,
|
|
|
|
validator: (value) => Validator.isNumeric(value) ? null : "allow numbers only",
|
|
|
|
validator: (value) => value == null || value.isEmpty
|
|
|
|
|
|
|
|
? context.translation.requiredField
|
|
|
|
|
|
|
|
: Validator.isNumeric(value)
|
|
|
|
|
|
|
|
? null
|
|
|
|
|
|
|
|
: context.translation.onlyNumbers,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
8.height,
|
|
|
|
8.height,
|
|
|
|
|
|
|
|
|
|
|
|
|