Home Forums Front-end Issues On change event select2 in repeater field


On change event select2 in repeater field

  • Hi all,

    i need in repeater field a on select event for select2, but it wont working. I try this:

        $("#acf-field_1234567890-input").on("change", function() {

    but this only work if select2 field is outside of repeater field. So what can be solution here?

    If i explain (attached image for help) i need do that when you select the “Serijska ┼ítevilka” field i must get meta data “Naprava” and “Model” for this post object. So i want to add select event and when they fire i will get with rest api other data. But i cant run on select or on change event.

    repeater field and select2

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.