@CNPJ bean validation annotation doesn't work

The [@CNPJ]
(https://docs.jboss.org/hibernate/validator/5.1/api/org/hibernate/validator/constraints/br/CNPJ.html) annotation from Bean Validation spec doesn’t work with TextField. It doesn’t allow null values, but in CNPJValidator implementation it does.