DSMaxTextLengthValidationRule
public struct DSMaxTextLengthValidationRule : DSValidationRule
A validation rule for capping the length of the text to a maximum amount.
-
Initializer.
Declaration
Swift
public init(maxTextLength: Int = 500, message: String)
Parameters
maxTextLength
The maximum number of characters allowed