Skip to content Skip to sidebar Skip to footer

Multiple Dropdown Menus Using AngularJs + Materialize.css

Hello I'm experiencing an annoying issue that i cannot fix. I'm using AngularJs to display a serie of cards, each one having its own dropdown menu. Here's the code:

Solution 1:

cardMoreActions is a function i think so you have to change to cardMoreActions({{eedback.FeedbackTrackerId}})

I hope this helped you.


Solution 2:

This solves the problem

TK.directive('dropdown', function() {
    return {
        restrict: 'A',
        link: function(scope, elem, attr) {
            elem.ready(function(){
                elem.dropdown();
            });         
        }, 
    }
});

Post a Comment for "Multiple Dropdown Menus Using AngularJs + Materialize.css"