Skip to content

Commit

Permalink
Merge pull request #561 from gpbl/530-click-today-button
Browse files Browse the repository at this point in the history
Clicking the today button should set the field value to today
  • Loading branch information
gpbl authored Nov 23, 2017
2 parents de8e217 + 1481910 commit a11057c
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 143 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,5 @@ workflows:
- master
- build-docs:
filters:
branches:
only:
- master
tags:
only: /^v.*/
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ _The following changes are not released yet, but are on the master branch and wi

**DayPickerInput**

* New: clicking the Today Button will set the input value to today ([#561](https://github.com/gpbl/react-day-picker/issues/561))

* Fixed: allow to change `numberOfMonths`, `selectedDays` props from `dayPickerProps` ([#513](https://github.com/gpbl/react-day-picker/issues/513), [#531](https://github.com/gpbl/react-day-picker/issues/531) by [hydrognomik](https://github.com/hydrognomik))
* Fixed: some modifiers were not passed down when using a custom `classNames` ([#517](https://github.com/gpbl/react-day-picker/issues/517), [#504](https://github.com/gpbl/react-day-picker/issues/504) by [tume](https://github.com/tume))
* Fixed: focus behavior on Firefox ([#525](https://github.com/gpbl/react-day-picker/issues/525) by [martinmosko](https://github.com/martinmosko))
Expand Down
7 changes: 4 additions & 3 deletions src/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"rules": {
"jsx-a11y/no-static-element-interactions" : 0,
"react/forbid-prop-types": 0
"class-methods-use-this": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/forbid-prop-types": "off"
}
}
}
Loading

0 comments on commit a11057c

Please sign in to comment.