The problem is the implementation of {{InputComponentValueUnwrapper#getValidatedValueType()}}. The return value from that method is used to resolve the right validator for the element to be validated.
You just return the given _wrapper type_ (which e.g. could be {{UIInput<String>}}) but you need to return the declared type of the _wrapped value_ (which would be {{String}} in this case). This can be done e.g. using ClassMate, as shown in [this example|https://github.com/hibernate/hibernate-validator/blob/master/engine/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/model/UiInputValueUnwrapper.java].
|