Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Missing Props On Calendar Component On WeekPicker #16952

Closed
wants to merge 1 commit into from
Closed

Fix Missing Props On Calendar Component On WeekPicker #16952

wants to merge 1 commit into from

Conversation

a-coruble
Copy link

@a-coruble a-coruble commented Jun 4, 2019

馃 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃懟 What's the background?

#16939

馃挕 Solution

Add props to Calendar creation on the WeekPicker component. This allows the component to be fully functional even when it's a controlled one.

馃摑 Changelog

Language Changelog
馃嚭馃嚫 English
馃嚚馃嚦 Chinese

鈽戯笍 Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@buildsize
Copy link

buildsize bot commented Jun 4, 2019

File name Previous Size New Size Change
package-lock.json 824.36聽KB 823.28聽KB -1.08聽KB (0%)

</div>
</div>
</div>,
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't change those, you can try to rebase master branch.

@@ -169,6 +169,8 @@ class WeekPicker extends React.Component<any, WeekPickerState> {
showToday={false}
disabledDate={disabledDate}
renderFooter={this.renderFooter}
value={pickerValue}
onChange={this.handleChange}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test case ?

@afc163
Copy link
Member

afc163 commented Mar 27, 2020

closing for no response

@afc163 afc163 closed this Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants