-
Notifications
You must be signed in to change notification settings - Fork 26
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
provide button renderer #80
Comments
I would consider this a perfect use case for a custom renderer as the user needs to bind some functionality against the button which we otherwise have to generically support in some fashion. |
it is possible to provide that in general way here is an example if you are interested https://github.com/kchobantonov/camunda-jsonforms-plugin/blob/master/plugin-ui/packages/common/src/renderers/ButtonRenderer.vue - it has a little bit more that what is needed but primary look for the injected actions. This is useful not only when you have webcomponent and interaction with the form is limited - e.g. if you want to change the form language not only to listen for errors and data changes but also in the case when you integrate the forms with the Vue since the button can be rendered in any place in the forms. The button is just a named action that you call with some context that's all nothing special really. |
Provide button renders that can execute javascript or a named action.
Useful when we want to position the button inside the jsonforms or when using the proposed new webcomponent
The text was updated successfully, but these errors were encountered: