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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar : Does not detection changes value in footer template #3484

Closed
omansak opened this issue Oct 18, 2022 · 1 comment · Fixed by #3485
Closed

Calendar : Does not detection changes value in footer template #3484

omansak opened this issue Oct 18, 2022 · 1 comment · Fixed by #3485
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@omansak
Copy link

omansak commented Oct 18, 2022

Describe the bug

If you want change Calendar value in footerTemplate, value changed but Calendar text box does not change on initial state

Sample
chrome-capture-2022-9-18

Possible Solution :
Re-render with key

Reproducer

https://codesandbox.io/s/angry-https-7njp97?file=/src/App.js

PrimeReact version

18.2.0

React version

18.x

Language

ALL

Build / Runtime

React

Browser(s)

all

Steps to reproduce the behavior

No response

Expected behavior

No response

@omansak omansak added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 18, 2022
@omansak omansak changed the title Component: Calendar, does not detection changes value in footer template Calendar : Does not detection changes value in footer template Oct 18, 2022
melloware added a commit to melloware/primereact that referenced this issue Oct 18, 2022
@melloware melloware added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Oct 18, 2022
@melloware melloware self-assigned this Oct 18, 2022
@melloware melloware added this to the 8.6.2 milestone Oct 18, 2022
@melloware
Copy link
Member

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants