Trigger change event on clearing recordfinder

Fixes #3591.
This commit is contained in:
Luke Towers 2019-10-13 06:15:19 -06:00 committed by GitHub
parent 9ac292d921
commit 5862683a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
class="btn btn-default clear-record"
data-request="<?= $this->getEventHandler('onClearRecord') ?>"
data-request-confirm="<?= e(trans('backend::lang.form.action_confirm')) ?>"
data-request-success="$('#<?= $field->getId() ?>').trigger('change')"
aria-label="Remove">
<i class="icon-times"></i>
</button>