iandoe / kirbycms-panel-imagepicker-field

Simple kirbyCMS Panel field for picking a single image in your page's content
MIT License
9 stars 4 forks source link

Only first imagepicker field is formatted correctly #2

Closed jaydenseric closed 10 years ago

jaydenseric commented 10 years ago

When using multiple imagepicker fields in a blueprint, only the first is formatted correctly.

Quickly looking at the inspector I can't see any JS console errors, but I can see all imagepicker fields have the same imagePicker-field ID. This is invalid HTML; IDs must be unique. The jQuery used to format the field should be looking for a classname, not an ID.