Support

Account

Home Forums ACF PRO User Field (Relational), bug when updating field using update_field() Reply To: User Field (Relational), bug when updating field using update_field()

  • Hello,
    Did you find why this was happening?
    I have the exact same issue, in the admin the select seems to work since the option has the selected attribute:

    <select id="acf-field_5e78f48412b5e" class="select2-hidden-accessible" name="acf[field_5e78f48412b5e][]" data-ui="1" data-multiple="1" data-placeholder="Choisir" data-allow_null="0" multiple="" size="1" tabindex="-1" aria-hidden="true">
    <option value="3" selected="selected" data-i="0">jason.g@….ch</option>
    </select>

    But the select2 doesn’t work, and when saving again from the admin, it resets the value.

    Thank you,
    Jason