Hello!
Using examples from
https://preview.keenthemes.com/html/metronic/docs/forms/image-input#events
Cannot get events working, Javascript error:
TypeError: Cannot read properties of null (reading 'on') on imageInput.on("kt.imageinput.removed", function() line.
Please help me.
Elieser
Can you explain in detail how you solved it? Where exactly did you give the ID?
Hi,
Make sure you set the id at the root element
<div class="image-input image-input-empty" data-kt-image-input="true">
...
</div>