mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#94 Add data-automation-id
This commit is contained in:
@@ -76,12 +76,15 @@
|
|||||||
|
|
||||||
|
|
||||||
<h5>Single file upload</h5>
|
<h5>Single file upload</h5>
|
||||||
<alfresco-upload-button uploaddirectory="{{relativePath}}" currentFolderPath="{{absolutePath}}" (onSuccess)="refreshDocumentList($event)"></alfresco-upload-button>
|
<alfresco-upload-button data-automation-id="single-file-upload" uploaddirectory="{{relativePath}}" currentFolderPath="{{absolutePath}}"
|
||||||
|
(onSuccess)="refreshDocumentList($event)"></alfresco-upload-button>
|
||||||
<h5>Folder upload</h5>
|
<h5>Folder upload</h5>
|
||||||
<alfresco-upload-button uploaddirectory="{{relativePath}}" currentFolderPath="{{absolutePath}}" [uploadFolders]="true"
|
<alfresco-upload-button data-automation-id="folder-upload" uploaddirectory="{{relativePath}}" currentFolderPath="{{absolutePath}}"
|
||||||
|
[uploadFolders]="true"
|
||||||
(onSuccess)="refreshDocumentList($event)"></alfresco-upload-button>
|
(onSuccess)="refreshDocumentList($event)"></alfresco-upload-button>
|
||||||
<h5>Multiple file upload</h5>
|
<h5>Multiple file upload</h5>
|
||||||
<input type="text" data-automation-id="accepted-files-type" [(ngModel)]="acceptedFilesType">
|
<input type="text" data-automation-id="accepted-files-type" [(ngModel)]="acceptedFilesType">
|
||||||
<alfresco-upload-button uploaddirectory="{{relativePath}}" currentFolderPath="{{absolutePath}}" acceptedFilesType="{{acceptedFilesType}}"
|
<alfresco-upload-button data-automation-id="multiple-file-upload" uploaddirectory="{{relativePath}}" currentFolderPath="{{absolutePath}}"
|
||||||
|
acceptedFilesType="{{acceptedFilesType}}"
|
||||||
[multipleFiles]="true"
|
[multipleFiles]="true"
|
||||||
(onSuccess)="refreshDocumentList($event)"></alfresco-upload-button>
|
(onSuccess)="refreshDocumentList($event)"></alfresco-upload-button>
|
||||||
|
Reference in New Issue
Block a user