You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a modal to preview and generally manage my file uploads. You get there via an 'upload files' button in the main template. My flow-init and whole ng-flow enchilada is done within the modal.
Problem is, I would like to force file browsing when loading this modal if a certain array where I keep track of the uploaded files happens to be empty. So the user doesn't have to go through an unnecessary second step that first time.
I've tried triggering the DOM element holding flow-btn attribute to no avail.
Any way of accomplishing this?
The text was updated successfully, but these errors were encountered:
+1 Looking for this as well. My particular use case would be triggering the flow-btn (in this case opening the file browser dialog) functionality from within a controller. Documentation makes no mention of this capability.
$scope.CONDITIONS=false;$scope.shouldTrigger=function(){// Manipulate your conditions here$scope.CONDITIONS=true;// then return the resulting value;return$scope.CONDITIONS;};
I'm not sure though if this works. I haven't tested it. This is just my idea of implementation.
I am using a modal to preview and generally manage my file uploads. You get there via an 'upload files' button in the main template. My flow-init and whole ng-flow enchilada is done within the modal.
Problem is, I would like to force file browsing when loading this modal if a certain array where I keep track of the uploaded files happens to be empty. So the user doesn't have to go through an unnecessary second step that first time.
I've tried triggering the DOM element holding flow-btn attribute to no avail.
Any way of accomplishing this?
The text was updated successfully, but these errors were encountered: