.maxSize

Use

You use the .maxSize attribute to determine the maximum input length of a screen field: