We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81ebe1f commit 7c65086Copy full SHA for 7c65086
ui/options.go
@@ -143,7 +143,7 @@ func WithValidateNotEmpty() Option {
143
return WithValidateFunc(NotEmpty())
144
}
145
146
-// WithValidateMinLen adds a custom validation function to a prompt that
+// WithValidateMinLength adds a custom validation function to a prompt that
147
// checks the input string meets the minimum length requirement.
148
func WithValidateMinLength(minLength int) Option {
149
return WithValidateFunc(MinLength(minLength))
0 commit comments