Fix wrapping regexp validation errors in dynamic ui

Previously our custom `message` string was assigned to `messages`
attribute which was wrong because it is getter-only property.

Change-Id: Ibc83cd8d714244d62337f32c70e40191bfad0b66
Merge "Fix wrapping regexp validation errors in dynamic ui"