Strapi 5 Unsupported field type for custom field

I am implementing a custom field with type ‘json’, but when selecting the custom field in the content type builder it shows a disabled field with the placeholder Unsupported field type: plugin::v5-image-kit-selector.image-kit. The plugin is added using the Plugin SDK, but i can’t get it to work. The custom field is registered on the server and admin. I am not sure if the error relates to the type json or that the whole custom field is not configured correctly.

The plugin is visible under the plugins page in strapi, so it’s enabled. Also i am able to choose the custom field as a field in my content type (see images). So I think the custom field is properly enabled, but there is a slight configuration error or mismatch.

I hope someone can help me with this one.

This topic has been created from a Discord post (1292830337088356436) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

2 Likes

I have the same problem. Were you able to solve the issue?

I saw this I was makeing a plugin – it was beacuse the input field had a wrapping div around it, when it just wanted the input field component directly

So I think whatever is adding this custom field (maybe added by a plugin?) is doing it wrong

i have same problem. some one can help

Same problem here, has anyone figured this out?

Try changing your Input of the components property from app.customField.register() to

      components: {
        Input: async () =>
          import('./components/Input').then((module) => ({
            default: module.YourComponentName,
          })), // this import format with a default module solved my issue
      },

not work bro