Skip to main content

I’m using the Airtable api to build a website. I’m returning values from a multiple select field. In this case the field is ‘Activities available’. I can output them on the website no problem, but I can only return them as a string and can’t seem to figure out how to ideally add html around each value, or at least comma seperate them.


I have this <p><span className="text-muted">{record.fieldso'Activities available']}</span></p> returning <span class="text-muted">NightlifeFoodArchitecture</span> in the browser.

I’m using Create React App to build this and I’m quite new and limited in Javascript. Any help would be appreciated.


Thanks,

Ciarán

Be the first to reply!

Reply