add: max option to avoid more chars then the max.

To use `maxlength` from blocks the backspace and so.