Skip to content

Commit

Permalink
Merge pull request layer5io#728 from Yashsharma1911/patch-1
Browse files Browse the repository at this point in the history
Update publish modal schema
  • Loading branch information
vishalvivekm authored Nov 1, 2024
2 parents 329a20e + d5c394e commit 5e86e48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/schemas/publishCatalogItem/schema.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ const publishCatalogItemSchema = {
description:
'Specific stipulations to consider and known behaviors to be aware of when using this design.',
format: 'textarea',
'x-rjsf-grid-area': 12
'x-rjsf-grid-area': 12,
'x-encode-in-uri': true
},
pattern_info: {
type: 'string',
title: 'Description',
description: 'Purpose of the design along with its intended and unintended uses.',
format: 'textarea',
'x-rjsf-grid-area': 12
'x-rjsf-grid-area': 12,
'x-encode-in-uri': true
},
type: {
type: 'string',
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/publishCatalogItem/uiSchema.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const publishCatalogItemUiSchema = {
'ui:order': ['type', 'compatibility', 'pattern_caveats', 'pattern_info']
'ui:order': ['type', 'compatibility', 'pattern_info', 'pattern_caveats']
};

export default publishCatalogItemUiSchema;

0 comments on commit 5e86e48

Please sign in to comment.