Skip to content

Slide tabs are not updating the data #2

Description

@FebriPratama

Hi i have implemented your plugin to my projects, works great but i encountered problem when i try to update the data. it doesnt change, (needs to reload the page to apply the updates).
change
This image shows that it cant be clicked because of the data doesnt exist anymore(updated data).
The slides are based on the variable $scope.statuses, then it will repeat using ng-repeat.

` $scope.$watch(function(){ return Invoice.getDataStatus(); }, function(val) {

    $scope.statuses = val;          
    if(val.length){
        $scope.changeSlide(0);
        var slide = $ionicSlideBoxDelegate.$getByHandle('SlideTopInvoice');
        slide.update();
    }

},true);`

I have try with the ionicSlideBoxDelegate in every time the data changed but still no luck,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions