const iseNabled =! Object.keys (erreurs) .Some (x => erreurs [x]);
const isEnabled = !Object.keys(errors).some(x => errors[x]);
Evil Elephant
const isEnabled = !Object.keys(errors).some(x => errors[x]);