Skip to content

Commit ed2adeb

Browse files
committed
Readme updates and make tags non editable
1 parent 9da9e21 commit ed2adeb

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Contentstack Marketplace App Boilerplate
1+
# Taxonomy Selector Marketplace App
2+
A Contentstack app that allows you to select a taxonomy terms from multiple taxonomies in a custom field.
3+
4+
> **Note:** This app is not offically provides Contentstack.
25
36
## Provider
47

src/containers/CustomField/CustomField.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,20 @@ const CustomFieldExtension = () => {
159159
))}
160160
</Accordion>
161161
};
162+
162163
return (
163164
<div className="ui-location-wrapper">
164165
{taxonomies?.length > 0 && taxonomies.map((taxonomy, index) => ( // render each taxonomy
165166
<>
166167
<div className="taxonomy-selection">
167168
{selectedTerms?.length > 0 && selectedTerms?.[index]?.terms?.length
168-
? <Tag label={`${taxonomy.name} selections`} tags={
169-
selectedTerms?.[index]?.terms?.map((term: {name: string}) => term.name)
170-
} version='v2' />
169+
? <Tag
170+
label={`${taxonomy.name} selections`}
171+
tags={
172+
selectedTerms?.[index]?.terms?.map((term: {name: string}) => term.name)
173+
} version='v2'
174+
isDisabled={true}
175+
/>
171176
: ''}
172177
</div>
173178

0 commit comments

Comments
 (0)