Skip to content

Conversation

@edewit
Copy link
Contributor

@edewit edewit commented Nov 26, 2025

I opted to make as little changes as needed to fix this issue only removing the icon from the config, but another option would be to completely remove the config, as it's already widgetMapping
fixes: #13
Signed-off-by: Erik Jan de Wit [email protected]

initialTemplate={template}
onTemplateChange={(newTemplate) => {
setTemplate(newTemplate);
console.log('newTemplate', JSON.stringify(newTemplate, null, 2));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra debug statement

@Hyperkid123
Copy link
Collaborator

Thank you, jsut one small nit. Unless the log was deliberate for the example.

@edewit
Copy link
Contributor Author

edewit commented Nov 27, 2025

@Hyperkid123 right it was as meant as an example, removed it now

@Hyperkid123
Copy link
Collaborator

@edewit if you could rebase the branch, that would be great. It should fix the CI issues.

@Hyperkid123 Hyperkid123 merged commit 47f44f6 into patternfly:main Dec 4, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non serializable data in onTemplateChange

2 participants