Allow range when editing a number field