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
$scope.getTextToCopy = function () {
return $scope.publishOptions.uniqueURL;
};
The first goal is to put focus on button when dialog opens, which I did using auto-focus directive. The second goal is to add the possibility when focus is on button to press enter and copy text from input box (ClientsURL). It doesn't work that is doesn't copy text to clipboard. It works when I click button using mouse.
How to solve this issue?
The text was updated successfully, but these errors were encountered:
I have AngularJS template (modal dialog) and there is a code as following:
Here is function that gets the text to be copied:
The first goal is to put focus on button when dialog opens, which I did using auto-focus directive. The second goal is to add the possibility when focus is on button to press enter and copy text from input box (ClientsURL). It doesn't work that is doesn't copy text to clipboard. It works when I click button using mouse.
How to solve this issue?
The text was updated successfully, but these errors were encountered: