[BUG #8400] Overriding setEnabled to fix confilct with minDate/maxDate config