Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Harshit 64 posts 226 karma points
    Dec 22, 2015 @ 06:02
    Harshit
    0

    custom tabs for custom custom trees: Error: No controller: form error

    Hi , I am trying to add the custom tabs in a custom tree ,below is the code

        <umb-header tabs="content.tabs">
            <div class="umb-headline-editor-wrapper span12 ng-scope">
                <h1 class="ng-binding"> {{id}}</h1>
    
            </div>
    

    Controller

    $scope.content = {
        tabs: [{
            id: 1,
            label: "Templates"
        }]
    };
    

    However i am getting error on client side

    Error: No controller: form at Error (native)

    <li ng-class="{'tab-error': tabHasError}" ng-repeat="tab in visibleTabs" val-tab="" class="ng-scope">
    

    any idea on this?

    Thanks

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Dec 22, 2015 @ 13:01
    David Brendel
    0

    Hi Harshit,

    think you musst wrap the whole code in a form tag. Think this is needed to get the tabs to work.

    Regards David

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies