Validator issue


I extended a class from defaultFieldFactory to customise my select component in the form. Here, I added my own validator to the select component with .addValidator(new …).

The validator checks from the database and throws and InvalidValueException if there is an error.

The select component works so far, but when the validator outputs the error message in the tooltip, the error message appears twice instead of once. But in the customised fieldfactory I only added it once to my field.

Are there some hints regarding this issue?
Thanks, Petra