Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.44k stars 1.55k forks source link

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

Open ConorWebb96 opened 1 week ago

ConorWebb96 commented 1 week ago

Checklist

Hosting

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

linear[bot] commented 1 week ago

BUDI-8702 Form field validation saves new rules on create rather than on button create