Closed howserss closed 10 years ago
I have resolved this issue. Please share results is you wish. It all came down to using a JS object like $scope.FormData.account instead of $scope.account.
ngDialog.open() - http://jsfiddle.net/s1ca0h9x/ (FIXED!! works like expected)
ngDialog.openConfirm() - http://jsfiddle.net/tbosLoa9/ (works as expected)
@howserss sorry for delay with answer, as I see your fixed version points to latest version of ngDialog
, so the issue was caused by old one?
@howserss actually I saw your comment on StackOverflow but it looks like you had some issues in your code. ngDialog.open
works like expected with passed scope
and value shouldn't be an object like you've mentioned, it can be any type. I updated your fiddle - http://jsfiddle.net/akgdxhd0/
Thanks for looking at this and as you see I got things working. Thank For The plug in Its grest. On Sep 9, 2014 10:58 AM, "Dmitri Voronianski" notifications@github.com wrote:
@howserss https://github.com/howserss sorry for delay with answer, as I see your fixed version points to latest version of ngDialog, so the issue was caused by old one?
— Reply to this email directly or view it on GitHub https://github.com/likeastore/ngDialog/issues/74#issuecomment-54981853.
I use option scope:$scope. Functions on scope can be called but variables set by ngModel on modal do not get updated when using ngdialog.open. If I use ngDialog.openConfirm then the ngModel is working as expected. Am I doing something wrong or is this an issue?