next.js 14 component broken when using translation feature from Chrome

In a next.js 14 app, I have this component

import { FormControl, FormField, FormItem, FormLabel, FormLabelContent, FormMessage, LabelWithTooltipProps } from "@/components/ui/form";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";
import { cn } from "@/lib/utils";

interface FormFieldSelectProps {
    control: any;
    name: string;
    disabled?: boolean;
    className?: string;
    options: { value: string; label: string }[];
    emptyOption?: { value: string; label: string };
    fieldProps?: any;
    labelProps: LabelWithTooltipProps;
    labelWidth?: string;
}

/**
 * A form field select component for selecting options.
 *
 * @component
 * @example
 * <FormFieldSelect
 *   name="propertyType"
 *   control={form.control}
 *   disabled={!isPowerUser}
 *   options={propertyTypeOption.map((propertyType) => ({
 *     value: propertyType,
 *     label: capitalize(propertyType),
 *   }))}
 *   fieldProps={{
 *     className: 'w-full',
 *   }}
 *   labelProps={{
 *     label: "Property type",
 *     isRequired: true,
 *     tooltipContent: "This helps classify properties.",
 *   }}
 *   labelWidth="w-64"
 * />
 */
export default function FormFieldSelect({
    control,
    name,
    disabled = false,
    options,
    emptyOption,
    fieldProps = {},
    labelProps,
    className,
    labelWidth = "w-64",
}: FormFieldSelectProps) {
    return (
        <FormField
            control={control}
            name={name}
            render={({ field, formState }) => (
                <FormItem
                    className={cn("flex gap-10 w-full items-start justify-start", className)}
                >
                    <FormLabel className={cn("flex shrink-0", labelWidth)}>
                        <FormLabelContent {...labelProps} />
                    </FormLabel>
                    <div className="flex flex-col gap-2 w-full">
                        <Select
                            key={`select-${name}`}
                            onValueChange={field.onChange}
                            defaultValue={field.value}
                            disabled={disabled}
                            {...fieldProps}
                        >
                            <FormControl>
                                <SelectTrigger
                                    className="w-full"
                                    error={!!formState.errors[name]}
                                >
                                    <SelectValue placeholder={"Select an option"} />
                                </SelectTrigger>
                            </FormControl>
                            <SelectContent
                                key={`select-content-${name}`}
                            >
                                {emptyOption && (
                                    <SelectItem 
                                    key={`select-empty-${name}`}
                                    value={emptyOption.value}>{emptyOption.label}</SelectItem>
                                )}
                                {options.map((option) => (
                                    <SelectItem key={`select-item-${option.value}`} value={option.value}>
                                        {option.label}
                                    </SelectItem>
                                ))}
                            </SelectContent>
                        </Select>
                        <FormMessage className="text-danger" />
                    </div>
                </FormItem>
            )}
        />
    );
}

This component uses the Select component from shadcn/ui.

I use the formField in forms like so:

                    {/* GENDER */}
                    <FormFieldSelect
                        className={cn(formFieldWidth)}
                        key="genderSelect"
                        name="gender"
                        control={form.control}
                        options={genderOptions.map((genderOption) => ({
                            value: genderOption.value,
                            label: capitalize(genderOption.label),
                        }))}
                        fieldProps={{
                            className: 'w-full',
                        }}
                        labelProps={{
                            label: "Gender",
                            isRequired: false,
                        }}
                        labelWidth={formFieldLabelWidth}
                    />

Where
genderOptions = UserGenders from my type library:

export const UserGenders = [
    { value: "female", label: "Female" },
    { value: "male", label: "Male" },
    { value: "other", label: "Other" },
    { value: 'N/A', label: "Prefer not to say" },
]

All works fine, until user uses the translation feature of the browser (mostly Google Trad in Chrome, as it seems that Firefox translation does not provoke the same bug).
The translation feature seems to be translating ALL the client (even metadata), which seems to be leading to some error.

Anytime a user tries to manipulate the FormFieldSelect in a browser translated page, it gets this error:

Uncaught DOMException: Failed to execute ‘removeChild’ on ‘Node’: The node to be removed is not a child of this node.

The error is clearly because of reconciliation between virtual DOM and actual DOM.

I’ve been trying many thing with keys, making the component a "client component", … but I run out of ideas to reconciliate DOMs…

Any ideas?

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật