VgsTextLengthValidator

constructor(lengths: IntArray, errorMsg: String = ERROR_MESSAGE)

Parameters

lengths

the set of accepted character counts.

errorMsg

message returned when the length is not in lengths.