Version: 2019.2
public int characterLimit ;

Description

How many characters the keyboard input field is limited to. 0 = infinite.

This property is supported on Android and iOS only.