79137585

Date: 2024-10-29 14:17:09
Score: 0.5
Natty:
Report link

Angular 18. Setting value to empty string on click event compiled and worked:

<input
    type="file"
    #fileInput
    accept="image/*"
    (change)="onFileChanged($event)"
    (click)="fileInput.value = ''"
/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Edward Olamisan