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

allow pressing enter to perform the 'Execute' action #255

Merged
merged 1 commit into from Jul 24, 2023

Conversation

chris48s
Copy link
Contributor

As things stand at the moment, filling all the form fields and pressing Enter doesn't perform the "Execute" action. You have to actually click the "Execute" button with a mouse.

This PR enables performing the "Execute" action with the Enter key.

In order to do this, I've:

  • Added a <form> container
  • Made the "Execute" button type="submit"
  • Made all the other buttons inside the form (for showing and hiding things) type="button"
  • Disabled the form submit action

@netlify
Copy link

netlify bot commented Jul 23, 2023

Deploy Preview for docusaurus-openapi ready!

Name Link
🔨 Latest commit 0ca9900
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-openapi/deploys/64bd71389c0a36000807164e
😎 Deploy Preview https://deploy-preview-255--docusaurus-openapi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@bourdakos1 bourdakos1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@bourdakos1 bourdakos1 merged commit 0ebd2b9 into cloud-annotations:main Jul 24, 2023
10 checks passed
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.

None yet

2 participants