If those are default values, shouldn't they be set so that the behaviour is not changed unless something requests an explicit min/max length? That is, use default values 0 and infinity (resp. MAX_INT).

But of course that only makes sense if it is then somehow possible to change the min/max values (different edit fields will want to use different min/max values, after all), but right now there seems to be no provisions for that at all, short of directly manipulating the member vars. Shouldn't there be a setInputSizeBound(uint min, uint max) method which also performs sanity checks (like 0 <= min <= max and perhaps 0<max)