Use a count on the add button rather than checking flag
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
$scope.showAddButton = function () {
|
||||
return $scope.model.config.startWithAddButton
|
||||
&& countVisible() === 0
|
||||
&& !$scope.model.config.enableMultipleFieldsets;
|
||||
&& $scope.model.config.fieldsets.length == 1;
|
||||
}
|
||||
|
||||
//helper, ini the render model from the server (model.value)
|
||||
|
||||
Reference in New Issue
Block a user