def setMaxLength(self, maxLength):
        self._maxLength = maxLength
        self.requestRepaint()
Sets the maximum number of characters in the field. Value -1 is
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/abstract_text_field.py/AbstractTextField.setMaxLength