budibase icon indicating copy to clipboard operation
budibase copied to clipboard

Form field validation saves new rules on create rather than on button create

Open ConorWebb96 opened this issue 1 year ago • 1 comments

Checklist

  • [x] I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Self
    • Method: docker compose
    • Budibase Version: 2.32.12
    • App Version: 2.32.12

Describe the bug When adding or deleting validation attached to a form, the changes are saved on creation rather than when the save button is clicked. This is different from how other similar features work within the platform. Changes can be made without knowing; if rules are deleted and the cancel is clicked, the rules are still lost.

To Reproduce Steps to reproduce the behavior:

  1. Import the attached app
  2. Go to the home screen
  3. Click on the form block component
  4. Click the settings cog of any of the fields
  5. Click validation
  6. Modify existing rules/delete
  7. Click off and then click back into the validation area
  8. Notice any changes made without using the buttons were saved

Expected behavior Changes to validation rules should only be saved whenever the save button is clicked.

App Export validation-recreativity-1728376759691.tar.gz

ConorWebb96 avatar Oct 08 '24 08:10 ConorWebb96

This issue has been automatically marked as stale as there has been no activity for 6 months.

github-actions[bot] avatar Jul 14 '25 15:07 github-actions[bot]

Closing as unlikely to change.

ConorWebb96 avatar Jul 15 '25 07:07 ConorWebb96