Skip to content

Commit

Permalink
IBX-8943: [Image field] Alternative text retains after deleting asset (
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored Sep 27, 2024
1 parent 0a7b7a0 commit 90aaf2e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
this.inputField = clonedInput;
this.inputField.addEventListener('change', this.handleInputChange, false);
this.fieldContainer.querySelector('.ibexa-field-edit__option--remove-media').checked = true;
this.fieldContainer.querySelector('.ibexa-field-edit-preview__image-alt .ibexa-data-source__input').value = '';

this.validator.reinit();
}
Expand Down

0 comments on commit 90aaf2e

Please sign in to comment.