Shailen Tuli
Shailen Tuli

Reputation: 14171

Validating the length of a form input value in Angular Dart

How can I specify that a form input only consider values of a minimum and maximum length as valid?

Upvotes: 2

Views: 188

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657238

this change in the Angular GitHub repository contains a NgModelMaxLengthValidator which looks suspiciouly what you are looking for (checked in 8 days ago) Maybe it's not yet released because I couldn't find it in my Angular package directory

Upvotes: 1

Related Questions