Support

Account

Home Forums Front-end Issues User field – Select2 doesn't search for names Reply To: User field – Select2 doesn't search for names

  • The solution is change the function get_result on class-acf-field-user.php

    Change $result = $user->user_login; to $result = $user->$user->first_name or appe d first and lastname:

    $result .= $user->first_name;
    if( $user->last_name ) {$result .= ‘ ‘ . $user->last_name;};