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

Form: reset not working, changed value not update input #6767

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

damuso
Copy link

@damuso damuso commented Nov 12, 2024

Defect Fixes

fix #6755

Solution

Added watcher in BaseEditableHolder component which listens for $pcForm.state[inputName] and changes d_value after reset action

Other possible solution

I am not sure if it will be worth adding Event bus for this - discussion needed
Emit reset event from Form component and listen for that event in BaseEditableHolder.

Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Nov 26, 2024 8:08pm
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Nov 26, 2024 8:08pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Form: reset not working, changed value not update input
1 participant