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 onStart property in AutoButton #712

Closed
wants to merge 1 commit into from

Conversation

alanko0511
Copy link
Contributor

This PR introduces a new onStart callback on AutoButton. This callback is called when the button is clicked and before the action is run. Useful for changing form state or other UI interactions when the button is clicked.

PR Checklist

  • Important or complicated code is tested
  • Any user facing changes are documented in the Gadget-side changelog
  • Any immediate changes are slated for release in Gadget via a generated package dependency bump
  • Versions within this monorepo are matching and there's a valid upgrade path

@alanko0511 alanko0511 requested a review from infiton December 16, 2024 15:08
@infiton
Copy link
Contributor

infiton commented Dec 16, 2024

should it be onClick?

@alanko0511 alanko0511 closed this Dec 17, 2024
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

Successfully merging this pull request may close these issues.

2 participants