diff --git a/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.html b/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.html
index 03b0f7a28b..692289b753 100644
--- a/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.html
+++ b/ui-ngx/src/app/modules/home/components/device/device-credentials-mqtt-basic.component.html
@@ -26,18 +26,19 @@
             matTooltip="{{ 'device.generate-client-id' | translate }}"
             matTooltipPosition="above"
             (click)="generate('clientId')"
-            *ngIf="!deviceCredentialsMqttFormGroup.get('clientId').value">
+            *ngIf="!deviceCredentialsMqttFormGroup.get('clientId').value; else copyClientId">
       autorenew
     
-    
-    
+    
+      
+      
+    
     
       {{ 'device.client-id-pattern' | translate }}
     
@@ -52,18 +53,20 @@
             matTooltip="{{ 'device.generate-user-name' | translate }}"
             matTooltipPosition="above"
             (click)="generate('userName')"
-            *ngIf="!deviceCredentialsMqttFormGroup.get('userName').value">
+            *ngIf="!deviceCredentialsMqttFormGroup.get('userName').value; else copyUserName">
       autorenew
     
-    
-    
+    
+      
+      
+    
     
       {{ 'device.user-name-required' | translate }}
     
@@ -82,18 +85,20 @@
             matTooltip="{{ 'device.generate-password' | translate }}"
             matTooltipPosition="above"
             (click)="generate('password')"
-            *ngIf="!deviceCredentialsMqttFormGroup.get('password').value">
+            *ngIf="!deviceCredentialsMqttFormGroup.get('password').value; else copyPassword">
       autorenew
     
-    
-    
+    
+      
+      
+    
   
   
+                *ngIf="!deviceCredentialsFormGroup.get('credentialsId').value; else copyAccessToken">
           autorenew
         
-        
-        
+        
+          
+          
+        
         
           {{ 'device.access-token-required' | translate }}
         
@@ -62,7 +63,7 @@