budibase
budibase copied to clipboard
Clear Form action can select a form that is inside a repeater, but never actually clears the form.
Checklist
-
[Y]
I have searched budibase discussions and github issues to check if my issue already exists
Hosting
- Self & Cloud
Describe the bug Component tree: New Button has On Click action set to clear form, but cannot clear form unless it is within the repeater.
Either it shouldn't be able to access the form contained within the repeater, or it should be able to clear all forms in the repeater.
Worthy of note:
Save Row action cannot access the forms inside the repeater (unless the button is placed the repeater)
To Reproduce Steps to reproduce the behaviour:
- Add a Data Provider, Nest a repeater, nest a form, nest some fields (see component tree above)
- Add a button to clear form, select the form created in the above data provider
- In the published app, add some sample data to the form(s)
- Click the button to clear form
- Notice that forms aren't cleared
Expected behavior Either all forms in the repeater are cleared, or the form inside the repeater cannot be specified in a clear row action from a button that isn't also inside the repeater
Screenshots Link to Jam
App Export Link to App 14030-export-1719477522476.tar.gz
Desktop (please complete the following information):
- OS: iOS
- Browser: chrome, safari
- Version [e.g. 22]
Additional context Add any other context about the problem here.