use more informative strategy="maxLength" instead of "max".