Optional
minimumMinimum length. If defined and the string is less than this length, an error is thrown.
Optional
maximumMaximum length. If defined and the string is greater than this length, an error is thrown.
Optional
exclusionExclusion from the string. If defined and the string is within the exclusion range, an error is thrown.
Optional
positionPosition offset within a larger string. Strings are sometimes composed of multiple substrings; this parameter ensures that the error notes the proper position in the string.
Optional
componentName of component, typically but not exclusively within a larger string. This parameter ensure that the error notes the component that triggered it. Value may be a string or a callback that returns a string, the latter allowing for localization changes.
Character set validation parameters.