How to validate a fieldArray from nested component

Hello. I want to validate a field Array called “detalle” from nested component. In this case: https://gitlab.com/franciscojosearias/sistemafacturacion/-/blob/master/cliente/src/components/facturasPaginas/FormularioDetalleFactura.jsx

Since FormularioFactura I’m calling validacionDetalle. Please compare the syntax from validacionDetalle in FormularioDetalleFactura.jsx with validaciones from FormularioFactura.jsx respect to detalle and valores.detalle, respectively.

Link FormularioFactura: https://gitlab.com/franciscojosearias/sistemafacturacion/-/blob/master/cliente/src/components/facturasPaginas/FormularioFactura.jsx

I need to solve this.