Alternatively, you can pass a React component to the fieldType property to use a custom component.
overloading fieldType to render the component when you pass a function is not very nice
ideally we could have fieldRender or similar.
I know naming is hard, but this Render suffix is well established naming pattern. Also overloaded fields often give weird typescript errors.
Alternatively, you can pass a React component to the fieldType property to use a custom component.
overloading fieldType to render the component when you pass a function is not very nice ideally we could have
fieldRender
or similar. I know naming is hard, but thisRender
suffix is well established naming pattern. Also overloaded fields often give weird typescript errors.