Releases: arqex/react-datetime
Releases · arqex/react-datetime
Version 2.16.0
- The prop
disableOnClickOutside
has been renamed todisableCloseOnClickOutside
- The calendar doesn't get closed an open when clicking in the input anymore.
- Fixes errors not finding dates when customizing day rendering.
- Event listeners in
inputProps
now only override default behaviour when returningfalse
. - Adds the
displayTimeZone
prop. Thanks to @martingordon
Version 2.15.0
Version 2.14.0
- Make
viewDate
dynamic
Version 2.13.0
- Use more appropriate cursor for empty space in time picker and in day texts
- Add
viewDate
prop that sets a value when opening the calendar when there is no selected date - Make
disableOnClickOutside
work as intended - Better touch support for tapping and holding
- Use static property
defaultProps
instead ofgetDefaultProps
Big thanks to all contributors!
Version 2.12.0
- The
renderInput
prop now receivescloseCalendar
function as well
Version 2.11.0
- onFocus now receives the browser event
- Do not open browser menu on right click of arrows in time view
- Open calendar when onClick is triggered, before it would just react to onFocus
- Update TypeScript definitions for value and defaultValue to comply with code
- Fix bug where AM/PM would not sync between component value and input field value
- Add renderInput prop which let's the consumer of the component render their own HTML input element
Version 2.10.3
- Update react-onclickoutside dependancy
- Remove isValidDate check before rendering as implementation was causing crashes in some edge cases.
Version 2.10.2
- Move @types/react back to devDependencies
Version 2.10.1
- Fix build files
Version 2.10.0
- Add isValidDate check before rendering so it doesn't render with an invalid date.
UPDATE: This is not the correct 2.10.0 as I messed up when updating the tag. See the correct 2.10.0 with HEAD at 8f6f331 below. /simeg