[CUSTOM] Added fixMaxLength support and locale in min max