move components
Hi
- I need to move the advanced component fields to basic components, is this possible?
- And also i need the custom component with column layout, if have any example code , please provide.
Thanks
Here is an example of how to customize the builder.
http://formio.github.io/formio.js/app/examples/custombuilder.html
You can either list them specifically like customBasic or set "group" on the component to "basic".
Here is an example of a custom component: https://github.com/formio/react-app-starterkit/blob/master/src/components/CheckMatrix.js
Hi By refering this ( https://github.com/formio/react-app-starterkit/blob/master/src/components/CheckMatrix.js) . i have created custom component, but while trying to view that created component it shows 'Unknown component: checkmatrix'.
can you help to fix this.
The component needs to be added to the renderer using the
Components.addComponent('checkmatrix', CheckMatrixComponent);
Hi i already added this 'Components.addComponent('checkmatrix', CheckMatrixComponent);', but still i got the error 'Unknown component: checkmatrix'.
Sometimes this can happen if the renderer is pulled from a different copy of formio.js than the one you are adding the component to. Can you check if this is the case?
I have done my custom component by using the example 'custom form builder'. Thanks for your reply.
@ranjanitechleaf I am also trying to create a custom component, and I want that field to be properly validated, May I know how the validation is need to be done?