added allowEmptyValue option for rangepicker