Remove "All Categories" from search select menu

Hello, I used this php snippet to succescully remove the regular vendors category from the search select dropdown menu, but since the “All Categories” is still there, when people search regular vendors still show up. I only want people to be able to find Real Estate Category vendors. Is there a way to remove the “All Categories”

add_filter(
    'hivepress/v1/forms/vendor_search',
    function($args) {
        // Exclude the specific category from the dropdown menu
        if (isset($args['fields']['_category'])) {
            $args['fields']['_category']['option_args']['exclude'] = [262];
        }

        return $args;
    }
);

Hi,

You can try to make the required field $args['fields']['_category']['required']=true; then it will prevent searching without selecting categories, but note that you may need further customization.