-
Hello. I'm having some trouble defining new field types with the overrides. Just wondering if I am doing something silly, or if the overrides aren't meant for this. I have an override like so (just to test): const overrides = {
fieldTypes: {
slider: ( { name, onChange, value }) => (<div>Slide!</div>),
}, and using it in a component: fields: {
Sliderbar: {label: "Test", type: "slider"}
}, gives an The Docs mention "You can specify a custom render method for each known field type, or introduce completely new ones." I replaced with a Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @icedcola! Sorry for the delay, but I suspect this might be a TS bug. Going to create an issue. |
Beta Was this translation helpful? Give feedback.
Hey @icedcola! Sorry for the delay, but I suspect this might be a TS bug. Going to create an issue.