Fix length of input field nextevent (even though it is readonly)