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

Set type of <button>s in vanilla array renderer #2298

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

joefreeman
Copy link
Contributor

This updates the <button>s in the vanilla array renderer to set the type to "button". This allows a <JsonForms> to be contained within a <form> without these buttons triggering a submit of the form.

I believe this is fixing the same issue as #1731, but for the vanilla renderers.

@CLAassistant
Copy link

CLAassistant commented Mar 6, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

netlify bot commented Mar 6, 2024

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit b215b74
🔍 Latest deploy log https://app.netlify.com/sites/jsonforms-examples/deploys/65eadf6335120200089fe6d2
😎 Deploy Preview https://deploy-preview-2298--jsonforms-examples.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.

@sdirix
Copy link
Member

sdirix commented Mar 8, 2024

Thanks for the contribution ❤️. The change looks good! Can you fix the linter errors?

@coveralls
Copy link

Coverage Status

coverage: 84.881%. remained the same
when pulling b215b74 on joefreeman:vanilla-button-types
into 30c1b79 on eclipsesource:master.

Copy link
Member

@sdirix sdirix left a comment

Choose a reason for hiding this comment

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

Thanks!

@sdirix sdirix merged commit 24f4e5f into eclipsesource:master Mar 8, 2024
8 checks passed
@sdirix sdirix added this to the 3.3 milestone Mar 8, 2024
@joefreeman joefreeman deleted the vanilla-button-types branch March 8, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants