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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahmedamin20
Copy link

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
Author

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

1 similar comment
@ahmedamin20
Copy link
Author

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

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.

1 participant