Angular. Use Validator length as maxlength in html input

Viewed 18

If there any way to specify validator length as length of field in html input?

enter image description here

I want to use that validator length inside this html input but I don't know how to get that value

enter image description here

Thanks.

I have tried get that validator length value but I could'nt do it so.

0 Answers
Related