What the code is supposed to do is show the user's file when it's changed
The img tag will show the img, the php call will create the input, $i is part of the loop, the label is just a button that will toggle the file explorer.
Everything is working like a charm, but the properties like "form-repeater-<?= $i ?>-1-preview" won't be handled by the lib.
I can't manage to find this on the web so I guess this might be a feature implementation:
I have a form which has items like so
What the code is supposed to do is show the user's file when it's changed The
img
tag will show the img, the php call will create the input,$i
is part of the loop, thelabel
is just a button that will toggle the file explorer.Everything is working like a charm, but the properties like
"form-repeater-<?= $i ?>-1-preview"
won't be handled by the lib.Could be a nice feature to implement.