This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Why When I passing data from model to modal using $mdDialog its always null? #11388
Labels
needs: demo
A CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issue
resolution: works as expected
The functionality works as designed and documented.
Bug, enhancement request, or proposal:
Hey, I'm new when using AngularJS, i want to ask about how to use $mdDialog to pass the data from the model, but i got stuck or you can say that when i clicked the button to open the modal, i can't pass the data from the model, I already tried some solustion from the forum but it still return null instead of the list that i want
Detailed Reproduction Steps:
What is the expected behavior?
To make the model data in
data.json
appear as a listReference that i already tried:
Passing data to mdDialog
$mdDialog: locals not working!
Passing Data with MdDialog
MdDialog communication (i.e: passing data to MdDialog)
What is the current behavior?
The list is still return null but when i'm using
console.log('data Product',vm.StockOpnameCreateData)
it appears as the dummy data around 13 arraystockopnamecreate.json
Modal
Stockopname.html
Controller
I have some thought about the condition:
Which versions of AngularJS, Material, OS, and browsers are affected?
The text was updated successfully, but these errors were encountered: