Added option to show/hide date range inputs

This is useful when you only want to support using pre-defined date ranges