setValidationVisible does not work on valueChange with form

I have a Vaadin Form with field (pesel) where I need to valid field before do something on valueChange action. The result is validation is working with my custom validator but the problem is that the validation error dosen’t appear. This is my code:


		pesel.addListener(new ValueChangeListener() {
			
			@Override
			public void valueChange(com.vaadin.data.Property.ValueChangeEvent event) {
				try {
					pesel.validate();
					
					String peselS = pesel.getValue().toString();
					birthDate.setValue(DateUtil.getBirthDateFromPesel(peselS));
					sex.setValue(DateUtil.getSexFromPesel(peselS));
				} catch (InvalidValueException ive) {
					pesel.setValidationVisible(true);
				}
			}
		});