fSelect – preserve the label

<?php
/**
 ** use label instead of showing selected values in fselect
 ** replace "role" with the actual facet name, and "Please select Role" with the text you want to use
 **/

add_filter( 'facetwp_render_output', function( $output ) {
    if ( isset( $output['settings']['role'] ) ) {
        $output['settings']['role']['overflowText'] = 'Please select Role';
        $output['settings']['role']['numDisplayed'] = 0;
    }
    return $output;
});