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

Doc viewer buttons submit form #136

Open
peytonpeck opened this issue Apr 29, 2024 · 0 comments
Open

Doc viewer buttons submit form #136

peytonpeck opened this issue Apr 29, 2024 · 0 comments

Comments

@peytonpeck
Copy link

Hello,

When using the <DocViewer/> component from within a form, the buttons submit the form. Is there a reason that the buttons don't have type="button"? If not, is this a change that would make sense to be made?

I understand that ideally the DocViewer should not be put within a form, however I am dealing with some pretty large forms that make it hard to split up the inputs and the file viewer.

Thanks!

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