“Clear value on refresh” not working for controls in grid [BUG]
Environment
Please provide as many details as you can:
- Hosting type
- [ ] Local deployment
- Version: 4.2.6
- [ ] Local deployment
- Formio.js version: 4.2.6
- Frontend framework: Angular-formio
- Browser: Google Chrome
- Browser version: 77.0.3865.90 (Official Build) (64-bit)
Steps to Reproduce
- Take an Data Grid component on the form.
- Take an Select component within Data Grid as "Country" and bind some values in this component by calling API or harcoded.
- Take an Text Field component within Data Grid. Select Country from "Redraw On" options from data tab.
- Click on save button and save the form.
- Run the form and enter any value within Text Field.
- Change Country selection.
Expected behavior: On country selection change, value of Text Field should be clear/refresh.
Observed behavior: On country selection change, value of Text Field is not being clear/refresh.
Example
NA
Hello, Any update on this issue pls.
@pardeep224 Could you confirm if this is still an issue on v 4.5.0?
Hello Jeriah,
Issue is not resolved in version 4.5.0 also.
Regards,
Pardeep Kumar
From: Jeriah Henley [mailto:[email protected]] Sent: Thursday, October 24, 2019 7:22 PM To: formio/formio.js Cc: pardeep224; Mention Subject: Re: [formio/formio.js] “Clear value on refresh” not working for controls in grid [BUG] (#1806)
@pardeep224 https://github.com/pardeep224 Could you confirm if this is still an issue on v 4.5.0?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/formio/formio.js/issues/1806?email_source=notifications&email_token=ANMBPS32VHZK6BM4ROVKBVDQQGR6FA5CNFSM4I5DZV72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECFDFRY#issuecomment-545927879, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANMBPSYZCSF5GLTPGHX426LQQGR6FANCNFSM4I5DZV7Q .[image: Image removed by sender.]
@pardeep224 Thanks for the info. I've created a ticket in our 4x backlog and tagged you on the ticket. We will prioritize this issue next week during our strategic planning meeting. If you need this item expedited, please contact [email protected] for pricing.
After reviewing this item, our Developers have estimated that it would take 4 hours to fix the clear value on refresh not working in Data Grid.
Please contact [email protected] if you are interested in a formal quote.
Hello,
Can you tell me the code how I can refresh the DataGrid’s header labels and in which file I have to make changes. Please reply.
Thanks,
Pardeep Kumar
@pardeep224 Can you please ask this questions in a new thread?
Yeah sure...
Hello @pardeep224. Thank you for your patience while we got “Clear value on refresh” not working for controls in grid working in our formio.js Core Renderer. This has been resolved in the latest version 4.8.0-rc3.
Thank you for using Form.io and let me know if you have any further questions.