Contentful logo

Contentful Community

How to set Forma 36 selectfield to multiselect?


New to contentful and trying to build an extension UI extension and make use of the forma 36 components. I’m creating a select list that grabs data from an external DAM and needs to be able to have multiple selects for tagging purposes. But I don’t seem to be able to find anything on how you set this on the SelectField component. Is it possible and if so how?

Many thanks

1 Like

@marklett As far as I know we do not have a multiselect component available currently. However, you could look into using the Autocomplete component for selection and display the selected tags as Pills. Of course, any other third-party React component will also work.

Hi @fabians, I have been looking into the Autocomplete component as well but it does not seem to be exporting from the package v3.63.x Is the component not yet ready to be used?

@ianh Autocomplete is still part of our alpha components, but it can certainly be used by importing it like this:

import { Autocomplete } from '@contentful/forma-36-react-components/dist/alpha';

@fabians Great! Thank you very much for pointing that out.

Are there any plans to have a separate component for multi select dropdown?