Make it work together with validation machinery in Barricade and both
interact with standard classes in Angular. If the value is invalid
according to @constraints check, it's not propagated into the YAML
(still not true for the requred fields, has to be fixed on Barricade
side).
Change-Id: I22efce07b75aa2b55b65d3bfaab0d033fa1f0096