Maxlength ionic


#1

I am creating an application with ionica 3, and I need an input only supports 6 characters that someone knows how to do?
try it this way:

but let the text enter always just mark a red line!!


#2

You need to bind your textbox to a formcontrol item.