fixed openEditModal
This commit is contained in:
parent
5746920c34
commit
28614fbab4
@ -45,7 +45,7 @@ angular.module('forms').directive('editFormDirective', ['$rootScope', 'FormField
|
|||||||
|
|
||||||
// decides whether field options block will be shown (true for dropdown and radio fields)
|
// decides whether field options block will be shown (true for dropdown and radio fields)
|
||||||
$scope.showAddOptions = function (field){
|
$scope.showAddOptions = function (field){
|
||||||
if(field.fieldType === 'dropdown' || field.fieldType === 'checkbox' || field.fieldType === 'radio'){
|
if($scope.field.fieldType === 'dropdown' || $scope.field.fieldType === 'checkbox' || $scope.field.fieldType === 'radio'){
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user