Image Input component - React version
Hi,
I am trying to use ImageInputComponent with React version. When I add a single control in form that uses [data-kt-image-input] it works fine, but when i tried to add multiple controls for it the functionality doesn't work as expected.
Can someone please help me out in this regard?
Thank you.
Replies (1)
Hi,
Make sure that you have initialized our ImageInputComponent.
import {ImageInputComponent} from "../../../_metronic/assets/ts/components";
useEffect(()=>{
ImageInputComponent.bootstrap();
}, []); Also if you have any errors in your console please let us know.
Regards,
Lauris Stepanovs,
Keenthemes Support Team