Fix rangePicker validation and keypress enter ev