whitef0x0/tellform

View on GitHub
public/form_modules/forms/base/directives/field.client.directive.js

Summary

Maintainability
A
1 hr
Test Coverage

Function link has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            link: function(scope, element) {

                $rootScope.chooseDefaultOption = scope.chooseDefaultOption = function(type) {
                    if(type === 'yes_no'){
                        scope.field.fieldValue = 'true';
Severity: Minor
Found in public/form_modules/forms/base/directives/field.client.directive.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status