Fix validation error display for text attribute values and add non-regression scenario