Filtering Specific Customer Group in Drop Down Menu

Hi i need help, I created a customer group named Consultant and i added a custom LINK field in Project module name Consultant and i only want to show in the dropdown those customer who are under Consultant customer group.

Thanks in advance

@xchicox use client script

frappe.ui.form.on("Project", {
onload: function (frm) {
		frm.set_query("customer", function () {
			return {
				filters: [
					["Customer", "customer_group", "=", "Consultant"],

Thank you so much, i tried that but still the menu shows all the customer

@xchicox it’s working fine . please check your fields names .