Validating the length of a form input value in Angular Dart

Issue

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

Solution

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

Answered By – Günter Zöchbauer

Answer Checked By – Gilberto Lyons (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *