BigDecimalRange validator is not working in vaadin version 8.4.3 we tried to change to the latest version of vaadin 8 but the problem persist . Error shows withValidator like renaming the file ,What will be the problem and how can I fix this,Iam trying to change vaadin 7 TextField to vaadin 8 .In v7 it was working fine. Please help
binder.forField(txtAmnt)
.asRequired("This field is mandatory")
.withValidator(new BigDecimalRangeValidator("Enter an amount",BigDecimal.ZERO,new BigDecimal("1000")))
.bind(amount);