12/14/1
This commit is contained in:
@@ -41,7 +41,7 @@ class MyTextForm extends StatelessWidget {
|
||||
hintText: hint.tr,
|
||||
),
|
||||
validator: (value) {
|
||||
if (value!.isEmpty || value.length != 10) {
|
||||
if (value!.isEmpty) {
|
||||
return 'Please enter $label.'.tr;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user