We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you try to override the inputs using the functions, "fieldLabel" or "fieldTypes", they ignore the custom fields.
Here's a little example
<Puck<Config> .... overrides={{ fieldLabel: ({ children, label, icon, el }) => { return <FieldLabel label={label} icon={icon} el={el}> <div>SOME TEXT</div> {children} </FieldLabel> } }} /> export const Heading: ComponentConfig<HeadingProps> = { label: 'Heading', fields: { backgroundColor: { type: 'custom', label: 'Background color', render: ({ field, onChange, value }) => { return ( <GradientColorPicker colors={vbLightColors} value={value} isText={false} onChange={(color) => { onChange(color as string); }} /> ); }, }, ...``` the field overrides ignore my backgroundColor custom component.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you try to override the inputs using the functions, "fieldLabel" or "fieldTypes", they ignore the custom fields.
Here's a little example
The text was updated successfully, but these errors were encountered: