File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
src/containers/CustomField Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments