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

Add beforeSave event #133

Open
jefferyto opened this issue Nov 26, 2024 · 0 comments
Open

Add beforeSave event #133

jefferyto opened this issue Nov 26, 2024 · 0 comments

Comments

@jefferyto
Copy link

Having a beforeSave event/callback makes working with hidden fields much simpler:

  • Instead of having to add change event handlers to input fields in the open event callback (as demonstrated in the wiki), hidden field values can be computed and set in the beforeSave callback
  • This also makes it possible to save values unrelated to the input fields, for instance the date/time of the last save
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

No branches or pull requests

1 participant