Skip to content

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