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

Update VoiceVisualizer.tsx #24

Merged
merged 1 commit into from
Feb 8, 2025
Merged

Conversation

ahmedamin20
Copy link
Contributor

add buttons type for all buttons because i am using this audio visualization package in a form and the default type of the button is submit

when i click record, pause or stop i found the from submitted so if fixed it by adding type="button" for all buttons here to change the default type of html button from submit to button to prevent any form submit while clicking on any button of this package

add buttons type for all buttons because i am using this audio visualization package in a form and the default type of the button is submit

when i click record, pause or stop i found the from submitted so if fixed it by adding type="button" for all buttons here to change the default type of html button from submit to button to prevent any form submit while clicking on any button of this package
@ahmedamin20
Copy link
Contributor Author

fix: prevent form submission by adding type='button' to all buttons in audio visualization package

1 similar comment
@ahmedamin20
Copy link
Contributor Author

fix: prevent form submission by adding type='button' to all buttons in audio visualization package

@YZarytskyi YZarytskyi merged commit f8a22ee into YZarytskyi:main Feb 8, 2025
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