[SYNC]
This commit is contained in:
@@ -207,11 +207,12 @@ class AstromicFormController extends FormController {
|
|||||||
return controllers.keys
|
return controllers.keys
|
||||||
.where((String c) {
|
.where((String c) {
|
||||||
// Match the specific group ID and field name within the group
|
// Match the specific group ID and field name within the group
|
||||||
final RegExp pattern = RegExp(r'^' + RegExp.escape(standeredGroupFormat(targetGroupID, r'[\d+]', firstField)) + r'(-#\d+)?$');
|
final RegExp pattern = RegExp(r'^' + RegExp.escape(standeredGroupFormat(targetGroupID, r'[\d+]', firstField)) + r'$');
|
||||||
return pattern.hasMatch(c);
|
return pattern.hasMatch(c);
|
||||||
})
|
})
|
||||||
.nonNulls
|
.nonNulls
|
||||||
.toList().length;
|
.toList()
|
||||||
|
.length;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user