@idsoftsource/initial-process 1.4.7 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29163,7 +29163,8 @@ class FirstComponent {
29163
29163
  }
29164
29164
  }
29165
29165
  onFileSelected(event) {
29166
- this.fileData = event.target.files[0];
29166
+ const input = event.target;
29167
+ this.fileData = input.files?.[0];
29167
29168
  if (this.fileData) {
29168
29169
  this.resumeName = this.fileData.name;
29169
29170
  this.model.fileName = this.resumeName;
@@ -29173,6 +29174,8 @@ class FirstComponent {
29173
29174
  this.saveAWSFile();
29174
29175
  }, 1500);
29175
29176
  }
29177
+ // ✅ MUST ADD THIS LINE
29178
+ input.value = '';
29176
29179
  }
29177
29180
  openFile(fileInput, event) {
29178
29181
  event.stopPropagation();
@@ -32012,7 +32015,7 @@ class InitialProcessComponent {
32012
32015
  var userDetail = this.userForm.value;
32013
32016
  var findType = this.userViewRoles.find((a) => { return a.selected; })?.code;
32014
32017
  return {
32015
- targetUserId: this.userId,
32018
+ // targetUserId: this.userId,
32016
32019
  userName: this.users?.text,
32017
32020
  providerType: findType ?? ProviderType.ServiceProvider,
32018
32021
  providerName: provider.companyName,